mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
cmake: Build p3dxml.
This commit is contained in:
parent
53c407e470
commit
41f532bea6
@ -22,6 +22,7 @@ endif()
|
||||
add_subdirectory(src/configfiles)
|
||||
add_subdirectory(src/pandabase)
|
||||
add_subdirectory(src/express)
|
||||
add_subdirectory(src/dxml)
|
||||
add_subdirectory(src/pipeline)
|
||||
add_subdirectory(src/downloader)
|
||||
add_subdirectory(src/downloadertools)
|
||||
@ -84,7 +85,7 @@ add_subdirectory(metalibs/pandaphysics)
|
||||
|
||||
# Now add the Python modules:
|
||||
set(CORE_MODULE_COMPONENTS
|
||||
p3chan p3char p3collide p3cull p3device p3dgraph p3display p3downloader
|
||||
p3chan p3char p3collide p3cull p3device p3dgraph p3display p3downloader p3dxml
|
||||
p3event p3express p3gobj p3grutil p3gsgbase p3linmath p3mathutil p3nativenet
|
||||
p3net p3movies p3parametrics p3pgraph p3pgraphnodes p3pgui p3pipeline
|
||||
p3pnmimage p3pstatclient p3putil p3recorder p3text p3tform)
|
||||
|
18
panda/src/dxml/CMakeLists.txt
Normal file
18
panda/src/dxml/CMakeLists.txt
Normal file
@ -0,0 +1,18 @@
|
||||
set(P3DXML_HEADERS
|
||||
config_dxml.h
|
||||
tinyxml.h
|
||||
)
|
||||
|
||||
set(P3DXML_SOURCES
|
||||
config_dxml.cxx
|
||||
tinyxml.cpp
|
||||
tinyxmlerror.cpp
|
||||
tinyxmlparser.cpp
|
||||
)
|
||||
|
||||
composite_sources(p3dxml P3DXML_SOURCES)
|
||||
add_library(p3dxml ${P3DXML_HEADERS} ${P3DXML_SOURCES})
|
||||
target_link_libraries(p3dxml p3express)
|
||||
target_interrogate(p3dxml ALL)
|
||||
|
||||
install(TARGETS p3dxml DESTINATION lib)
|
Loading…
x
Reference in New Issue
Block a user