mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
25 lines
673 B
CMake
25 lines
673 B
CMake
set(P3MOTIONTRAIL_HEADERS
|
|
config_motiontrail.h
|
|
cMotionTrail.h
|
|
)
|
|
|
|
set(P3MOTIONTRAIL_SOURCES
|
|
config_motiontrail.cxx
|
|
cMotionTrail.cxx
|
|
)
|
|
|
|
add_component_library(p3motiontrail SYMBOL BUILDING_DIRECT_MOTIONTRAIL
|
|
${P3MOTIONTRAIL_HEADERS} ${P3MOTIONTRAIL_SOURCES})
|
|
target_link_libraries(p3motiontrail p3directbase panda)
|
|
target_interrogate(p3motiontrail ALL)
|
|
|
|
if(NOT BUILD_METALIBS)
|
|
install(TARGETS p3motiontrail
|
|
EXPORT Direct COMPONENT Direct
|
|
DESTINATION lib
|
|
RUNTIME DESTINATION bin
|
|
INCLUDES DESTINATION include/panda3d
|
|
ARCHIVE COMPONENT DirectDevel)
|
|
endif()
|
|
install(FILES ${P3MOTIONTRAIL_HEADERS} COMPONENT DirectDevel DESTINATION include/panda3d)
|