mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
Combine tinyxml into dxml directory
This commit is contained in:
parent
9c7242aff4
commit
5b0c06d5f9
@ -1865,7 +1865,6 @@ CopyAllHeaders('panda/src/ode')
|
||||
CopyAllHeaders('panda/metalibs/pandaode')
|
||||
CopyAllHeaders('panda/src/physics')
|
||||
CopyAllHeaders('panda/src/particlesystem')
|
||||
CopyAllHeaders('panda/src/tinyxml')
|
||||
CopyAllHeaders('panda/src/dxml')
|
||||
CopyAllHeaders('panda/metalibs/panda')
|
||||
CopyAllHeaders('panda/src/audiotraits')
|
||||
@ -2622,23 +2621,21 @@ if (PkgSkip("VRPN")==0 and not RUNTIME):
|
||||
TargetAdd('libvrpn.in', opts=['IMOD:panda', 'ILIB:libvrpn', 'SRCDIR:panda/src/vrpn'])
|
||||
TargetAdd('libvrpn_igate.obj', input='libvrpn.in', opts=["DEPENDENCYONLY"])
|
||||
|
||||
#
|
||||
# DIRECTORY: panda/src/tinyxml/
|
||||
#
|
||||
|
||||
OPTS=['DIR:panda/src/tinyxml', 'TINYXML']
|
||||
DefSymbol("TINYXML", "TIXML_USE_STL", "")
|
||||
TargetAdd('tinyxml_composite1.obj', opts=OPTS, input='tinyxml_composite1.cxx')
|
||||
TargetAdd('libp3tinyxml.ilb', input='tinyxml_composite1.obj')
|
||||
|
||||
#
|
||||
# DIRECTORY: panda/src/dxml/
|
||||
#
|
||||
|
||||
DefSymbol("TINYXML", "TIXML_USE_STL", "")
|
||||
|
||||
if (RUNTIME or RTDIST):
|
||||
OPTS=['DIR:panda/src/dxml', 'TINYXML']
|
||||
TargetAdd('tinyxml_composite1.obj', opts=OPTS, input='tinyxml_composite1.cxx')
|
||||
TargetAdd('libp3tinyxml.ilb', input='tinyxml_composite1.obj')
|
||||
|
||||
if (not RUNTIME):
|
||||
OPTS=['DIR:panda/src/dxml', 'BUILDING:PANDA']
|
||||
TargetAdd('dxml_config_dxml.obj', opts=OPTS, input='config_dxml.cxx')
|
||||
IGATEFILES=GetDirectoryContents('panda/src/dxml', ["*.h", "config_dxml.cxx"])
|
||||
OPTS=['DIR:panda/src/dxml', 'BUILDING:PANDA', 'TINYXML']
|
||||
TargetAdd('dxml_composite1.obj', opts=OPTS, input='dxml_composite1.cxx')
|
||||
IGATEFILES=GetDirectoryContents('panda/src/dxml', ["*.h", "dxml_composite1.cxx"])
|
||||
TargetAdd('libdxml.in', opts=OPTS, input=IGATEFILES)
|
||||
TargetAdd('libdxml.in', opts=['IMOD:panda', 'ILIB:libdxml', 'SRCDIR:panda/src/dxml'])
|
||||
TargetAdd('libdxml_igate.obj', input='libdxml.in', opts=["DEPENDENCYONLY"])
|
||||
@ -2757,9 +2754,8 @@ if (not RUNTIME):
|
||||
TargetAdd('libpanda.dll', input='libnativenet_igate.obj')
|
||||
TargetAdd('libpanda.dll', input='pandabase_pandabase.obj')
|
||||
TargetAdd('libpanda.dll', input='libpandaexpress.dll')
|
||||
TargetAdd('libpanda.dll', input='dxml_config_dxml.obj')
|
||||
TargetAdd('libpanda.dll', input='dxml_composite1.obj')
|
||||
TargetAdd('libpanda.dll', input='libdxml_igate.obj')
|
||||
TargetAdd('libpanda.dll', input='libp3tinyxml.ilb')
|
||||
TargetAdd('libpanda.dll', input='libp3dtoolconfig.dll')
|
||||
TargetAdd('libpanda.dll', input='libp3dtool.dll')
|
||||
|
||||
|
@ -1,14 +1,35 @@
|
||||
#define LOCAL_LIBS p3tinyxml pandabase
|
||||
#begin static_lib_target
|
||||
#define TARGET p3tinyxml
|
||||
|
||||
#define COMBINED_SOURCES tinyxml_composite1.cxx
|
||||
|
||||
#define SOURCES \
|
||||
tinyxml.h
|
||||
|
||||
#define INCLUDED_SOURCES \
|
||||
tinyxml.cpp tinyxmlparser.cpp tinyxmlerror.cpp
|
||||
|
||||
#define EXTRA_CDEFS TIXML_USE_STL
|
||||
#define C++FLAGS $[CFLAGS_SHARED]
|
||||
|
||||
#end static_lib_target
|
||||
|
||||
#begin lib_target
|
||||
#define TARGET dxml
|
||||
|
||||
#define LOCAL_LIBS pandabase
|
||||
#define OTHER_LIBS \
|
||||
interrogatedb:c dconfig:c dtoolconfig:m \
|
||||
dtoolutil:c dtoolbase:c prc:c dtool:m
|
||||
|
||||
#define COMBINED_SOURCES dxml_composite1.cxx
|
||||
|
||||
#define SOURCES \
|
||||
config_dxml.h config_dxml.cxx
|
||||
config_dxml.h tinyxml.h
|
||||
|
||||
#define INCLUDED_SOURCES \
|
||||
config_dxml.cxx \
|
||||
tinyxml.cpp tinyxmlparser.cpp tinyxmlerror.cpp
|
||||
|
||||
#define IGATESCAN all
|
||||
#end lib_target
|
||||
|
2
panda/src/dxml/dxml_composite1.cxx
Normal file
2
panda/src/dxml/dxml_composite1.cxx
Normal file
@ -0,0 +1,2 @@
|
||||
#include "config_dxml.cxx"
|
||||
#include "tinyxml_composite1.cxx"
|
@ -1,15 +0,0 @@
|
||||
#begin static_lib_target
|
||||
#define TARGET p3tinyxml
|
||||
|
||||
#define COMBINED_SOURCES tinyxml_composite1.cxx
|
||||
|
||||
#define SOURCES \
|
||||
tinyxml.h
|
||||
|
||||
#define INCLUDED_SOURCES \
|
||||
tinyxml.cpp tinyxmlparser.cpp tinyxmlerror.cpp
|
||||
|
||||
#define EXTRA_CDEFS TIXML_USE_STL
|
||||
#define C++FLAGS $[CFLAGS_SHARED]
|
||||
|
||||
#end static_lib_target
|
Loading…
x
Reference in New Issue
Block a user