mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 17:35:34 -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)
|
||||
# We can't build dcparse on Windows, because the dcparser symbols aren't
|
||||
# properly exported from p3direct.dll.
|
||||
return()
|
||||
endif()
|
||||
|
||||
add_executable(dcparse dcparse.cxx)
|
||||
target_compile_definitions(dcparse PUBLIC WITHIN_PANDA)
|
||||
target_link_libraries(dcparse p3direct)
|
||||
install(TARGETS dcparse DESTINATION bin)
|
||||
add_executable(p3dcparse dcparse.cxx)
|
||||
target_compile_definitions(p3dcparse PUBLIC WITHIN_PANDA)
|
||||
target_link_libraries(p3dcparse p3direct)
|
||||
install(TARGETS p3dcparse DESTINATION bin)
|
||||
|
@ -46,8 +46,8 @@ set(P3DCPARSER_PARSER_SOURCES
|
||||
dcLexer.cxx)
|
||||
|
||||
composite_sources(p3dcparser P3DCPARSER_SOURCES)
|
||||
add_component_library(p3dcparser NOINIT ${P3DCPARSER_HEADERS} ${P3DCPARSER_SOURCES}
|
||||
${P3DCPARSER_PARSER_SOURCES})
|
||||
add_component_library(p3dcparser NOINIT SYMBOL BUILDING_DIRECT_DCPARSER
|
||||
${P3DCPARSER_HEADERS} ${P3DCPARSER_SOURCES} ${P3DCPARSER_PARSER_SOURCES})
|
||||
target_compile_definitions(p3dcparser PUBLIC WITHIN_PANDA)
|
||||
target_link_libraries(p3dcparser p3directbase panda)
|
||||
target_use_packages(p3dcparser PYTHON)
|
||||
|
Loading…
x
Reference in New Issue
Block a user