mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
CMake: Update dcparse(r) as latter now has EXPCL
This commit is contained in:
parent
aea0ac4533
commit
d94f27bedd
@ -1,10 +1,4 @@
|
|||||||
if(WIN32)
|
add_executable(p3dcparse dcparse.cxx)
|
||||||
# We can't build dcparse on Windows, because the dcparser symbols aren't
|
target_compile_definitions(p3dcparse PUBLIC WITHIN_PANDA)
|
||||||
# properly exported from p3direct.dll.
|
target_link_libraries(p3dcparse p3direct)
|
||||||
return()
|
install(TARGETS p3dcparse DESTINATION bin)
|
||||||
endif()
|
|
||||||
|
|
||||||
add_executable(dcparse dcparse.cxx)
|
|
||||||
target_compile_definitions(dcparse PUBLIC WITHIN_PANDA)
|
|
||||||
target_link_libraries(dcparse p3direct)
|
|
||||||
install(TARGETS dcparse DESTINATION bin)
|
|
||||||
|
@ -46,8 +46,8 @@ set(P3DCPARSER_PARSER_SOURCES
|
|||||||
dcLexer.cxx)
|
dcLexer.cxx)
|
||||||
|
|
||||||
composite_sources(p3dcparser P3DCPARSER_SOURCES)
|
composite_sources(p3dcparser P3DCPARSER_SOURCES)
|
||||||
add_component_library(p3dcparser NOINIT ${P3DCPARSER_HEADERS} ${P3DCPARSER_SOURCES}
|
add_component_library(p3dcparser NOINIT SYMBOL BUILDING_DIRECT_DCPARSER
|
||||||
${P3DCPARSER_PARSER_SOURCES})
|
${P3DCPARSER_HEADERS} ${P3DCPARSER_SOURCES} ${P3DCPARSER_PARSER_SOURCES})
|
||||||
target_compile_definitions(p3dcparser PUBLIC WITHIN_PANDA)
|
target_compile_definitions(p3dcparser PUBLIC WITHIN_PANDA)
|
||||||
target_link_libraries(p3dcparser p3directbase panda)
|
target_link_libraries(p3dcparser p3directbase panda)
|
||||||
target_use_packages(p3dcparser PYTHON)
|
target_use_packages(p3dcparser PYTHON)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user