mirror of
https://github.com/panda3d/panda3d.git
synced 2026-02-09 00:29:00 -06:00
CMake: Add some install(...) directives.
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
add_executable(autorestart autorestart.c)
|
||||
set_target_properties(autorestart PROPERTIES COMPILE_DEFINITIONS WITHIN_PANDA)
|
||||
target_link_libraries(autorestart p3dtool)
|
||||
install(TARGETS autorestart DESTINATION bin)
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
add_executable(dcparse dcparse.cxx)
|
||||
set_target_properties(dcparse PROPERTIES COMPILE_DEFINITIONS WITHIN_PANDA)
|
||||
target_link_libraries(dcparse p3dcparser)
|
||||
install(TARGETS dcparse DESTINATION bin)
|
||||
|
||||
@@ -51,3 +51,5 @@ add_library(p3dcparser ${P3DCPARSER_SOURCES} ${P3DCPARSER_HEADERS}
|
||||
set_target_properties(p3dcparser PROPERTIES COMPILE_DEFINITIONS WITHIN_PANDA)
|
||||
target_link_libraries(p3dcparser p3directbase p3express p3pstatclient p3prc)
|
||||
target_interrogate(p3dcparser ${P3DCPARSER_SOURCES} ${P3DCPARSER_HEADERS})
|
||||
|
||||
install(TARGETS p3dcparser DESTINATION lib)
|
||||
|
||||
@@ -9,3 +9,5 @@ set(P3DEADREC_SOURCES
|
||||
add_library(p3deadrec ${P3DEADREC_HEADERS} ${P3DEADREC_SOURCES})
|
||||
target_link_libraries(p3deadrec p3directbase p3linmath p3pgraph p3prc)
|
||||
target_interrogate(p3deadrec ALL)
|
||||
|
||||
install(TARGETS p3deadrec DESTINATION lib)
|
||||
|
||||
@@ -9,3 +9,5 @@ set(P3DIRECTBASE_HEADERS
|
||||
# Not worth compositing sources, there's really only one.
|
||||
add_library(p3directbase ${P3DIRECTBASE_SOURCES} ${P3DIRECTBASE_HEADERS})
|
||||
target_link_libraries(p3directbase p3pandabase)
|
||||
|
||||
install(TARGETS p3directbase DESTINATION lib)
|
||||
|
||||
@@ -21,4 +21,6 @@ if(HAVE_PYTHON)
|
||||
target_link_libraries(p3distributed p3net)
|
||||
endif()
|
||||
target_interrogate(p3distributed ALL)
|
||||
|
||||
install(TARGETS p3distributed DESTINATION lib)
|
||||
endif()
|
||||
|
||||
@@ -39,3 +39,5 @@ composite_sources(p3interval P3INTERVAL_SOURCES)
|
||||
add_library(p3interval ${P3INTERVAL_HEADERS} ${P3INTERVAL_SOURCES})
|
||||
target_link_libraries(p3interval p3directbase p3pstatclient p3pgraph p3chan p3dconfig p3prc)
|
||||
target_interrogate(p3interval ALL)
|
||||
|
||||
install(TARGETS p3interval DESTINATION lib)
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
add_library(p3showbase showBase.cxx showBase.h)
|
||||
target_link_libraries(p3showbase p3directbase p3express p3event p3chan p3display p3dconfig p3prc)
|
||||
target_interrogate(p3showbase ALL)
|
||||
|
||||
install(TARGETS p3showbase DESTINATION lib)
|
||||
|
||||
@@ -1,2 +1,4 @@
|
||||
add_library(p3dtool dtool.cxx)
|
||||
target_link_libraries(p3dtool p3dtoolutil p3dtoolbase)
|
||||
|
||||
install(TARGETS p3dtool DESTINATION lib)
|
||||
|
||||
@@ -8,3 +8,5 @@ else()
|
||||
endif()
|
||||
|
||||
target_link_libraries(p3dtoolconfig p3prc p3dconfig p3interrogatedb)
|
||||
|
||||
install(TARGETS p3dtoolconfig DESTINATION lib)
|
||||
|
||||
@@ -40,3 +40,5 @@ composite_sources(p3cppParser P3CPPPARSER_SOURCES)
|
||||
|
||||
add_library(p3cppParser STATIC ${P3CPPPARSER_HEADERS} ${P3CPPPARSER_SOURCES})
|
||||
target_link_libraries(p3cppParser p3dtoolutil)
|
||||
|
||||
install(TARGETS p3cppParser DESTINATION lib)
|
||||
|
||||
@@ -8,3 +8,5 @@ composite_sources(p3dconfig P3DCONFIG_SOURCES)
|
||||
|
||||
add_library(p3dconfig ${P3DCONFIG_HEADERS} ${P3DCONFIG_SOURCES})
|
||||
target_link_libraries(p3dconfig p3prc)
|
||||
|
||||
install(TARGETS p3dconfig DESTINATION lib)
|
||||
|
||||
@@ -65,3 +65,5 @@ add_library(p3dtoolbase ${P3DTOOLBASE_HEADERS} ${P3DTOOLBASE_SOURCES})
|
||||
if(HAVE_PYTHON)
|
||||
target_link_libraries(p3dtoolbase ${PYTHON_LIBRARIES})
|
||||
endif()
|
||||
|
||||
install(TARGETS p3dtoolbase DESTINATION lib)
|
||||
|
||||
@@ -55,3 +55,5 @@ target_link_libraries(p3dtoolutil p3dtoolbase ${CMAKE_DL_LIBS})
|
||||
if(HAVE_PYTHON)
|
||||
target_link_libraries(p3dtoolutil ${PYTHON_LIBRARIES})
|
||||
endif()
|
||||
|
||||
install(TARGETS p3dtoolutil DESTINATION lib)
|
||||
|
||||
@@ -51,8 +51,10 @@ add_executable(interrogate ${INTERROGATE_HEADERS} ${INTERROGATE_SOURCES})
|
||||
target_link_libraries(interrogate
|
||||
p3cppParser p3interrogatedb p3dconfig p3prc p3dtoolutil p3dtoolbase
|
||||
p3pystub ${_OPENSSL_LIBRARIES})
|
||||
install(TARGETS interrogate DESTINATION bin)
|
||||
|
||||
add_executable(interrogate_module interrogate_module.cxx)
|
||||
target_link_libraries(interrogate_module
|
||||
p3cppParser p3interrogatedb p3dconfig p3prc p3dtoolutil p3dtoolbase
|
||||
p3pystub ${OPENSSL_LIBRARIES})
|
||||
install(TARGETS interrogate DESTINATION bin)
|
||||
|
||||
@@ -31,3 +31,5 @@ composite_sources(p3interrogatedb P3INTERROGATEDB_SOURCES)
|
||||
|
||||
add_library(p3interrogatedb ${P3INTERROGATEDB_HEADERS} ${P3INTERROGATEDB_SOURCES})
|
||||
target_link_libraries(p3interrogatedb p3dconfig ${PYTHON_LIBRARIES})
|
||||
|
||||
install(TARGETS p3interrogatedb DESTINATION lib)
|
||||
|
||||
@@ -66,3 +66,5 @@ composite_sources(p3prc P3PRC_SOURCES)
|
||||
|
||||
add_library(p3prc ${P3PRC_HEADERS} ${P3PRC_SOURCES})
|
||||
target_link_libraries(p3prc p3dtoolutil p3dtoolbase ${_OPENSSL_LIBRARIES})
|
||||
|
||||
install(TARGETS p3prc DESTINATION lib)
|
||||
|
||||
@@ -11,3 +11,5 @@ endif()
|
||||
|
||||
add_library(panda panda.cxx)
|
||||
target_link_libraries(panda ${PANDA_LINK_TARGETS})
|
||||
|
||||
install(TARGETS panda DESTINATION lib)
|
||||
|
||||
@@ -3,4 +3,6 @@ if(HAVE_EGG)
|
||||
|
||||
add_library(pandaegg pandaegg.cxx)
|
||||
target_link_libraries(pandaegg ${PANDAEGG_LINK_TARGETS})
|
||||
|
||||
install(TARGETS pandaegg DESTINATION lib)
|
||||
endif()
|
||||
|
||||
@@ -17,4 +17,6 @@ if(HAVE_GL)
|
||||
|
||||
add_library(pandagl pandagl.cxx)
|
||||
target_link_libraries(pandagl ${PANDAGL_LINK_TARGETS})
|
||||
|
||||
install(TARGETS pandagl DESTINATION lib)
|
||||
endif()
|
||||
|
||||
@@ -21,4 +21,6 @@ if(HAVE_AUDIO)
|
||||
add_library(p3audio ${P3AUDIO_HEADERS} ${P3AUDIO_SOURCES})
|
||||
target_link_libraries(p3audio p3putil p3event p3movies p3linmath)
|
||||
target_interrogate(p3audio ALL)
|
||||
|
||||
install(TARGETS p3audio DESTINATION lib)
|
||||
endif()
|
||||
|
||||
@@ -54,3 +54,5 @@ composite_sources(p3chan P3CHAN_SOURCES)
|
||||
add_library(p3chan ${P3CHAN_HEADERS} ${P3CHAN_SOURCES})
|
||||
target_link_libraries(p3chan p3pgraph)
|
||||
target_interrogate(p3chan ALL)
|
||||
|
||||
install(TARGETS p3chan DESTINATION lib)
|
||||
|
||||
@@ -22,3 +22,5 @@ composite_sources(p3char P3CHAR_SOURCES)
|
||||
add_library(p3char ${P3CHAR_HEADERS} ${P3CHAR_SOURCES})
|
||||
target_link_libraries(p3char p3chan)
|
||||
target_interrogate(p3char ALL)
|
||||
|
||||
install(TARGETS p3char DESTINATION lib)
|
||||
|
||||
@@ -67,6 +67,8 @@ add_library(p3collide ${P3COLLIDE_SOURCES} ${P3COLLIDE_HEADERS})
|
||||
target_link_libraries(p3collide p3tform)
|
||||
target_interrogate(p3collide ALL)
|
||||
|
||||
install(TARGETS p3collide DESTINATION lib)
|
||||
|
||||
#begin test_bin_target
|
||||
#define TARGET test_collide
|
||||
#define LOCAL_LIBS
|
||||
|
||||
@@ -24,3 +24,5 @@ composite_sources(p3cull P3CULL_SOURCES)
|
||||
add_library(p3cull ${P3CULL_HEADERS} ${P3CULL_SOURCES})
|
||||
target_link_libraries(p3cull p3pgraph)
|
||||
target_interrogate(p3cull ALL)
|
||||
|
||||
install(TARGETS p3cull DESTINATION lib)
|
||||
|
||||
@@ -30,3 +30,5 @@ composite_sources(p3device P3DEVICE_SOURCES)
|
||||
add_library(p3device ${P3DEVICE_SOURCES} ${P3DEVICE_HEADERS})
|
||||
target_link_libraries(p3device p3dgraph p3display)
|
||||
target_interrogate(p3device ALL)
|
||||
|
||||
install(TARGETS p3device DESTINATION lib)
|
||||
|
||||
@@ -15,3 +15,5 @@ composite_sources(p3dgraph P3DGRAPH_SOURCES)
|
||||
add_library(p3dgraph ${P3DGRAPH_SOURCES} ${P3DGRAPH_HEADERS})
|
||||
target_link_libraries(p3dgraph p3pgraph)
|
||||
target_interrogate(p3dgraph ALL)
|
||||
|
||||
install(TARGETS p3dgraph DESTINATION lib)
|
||||
|
||||
@@ -91,6 +91,8 @@ add_library(p3display ${P3DISPLAY_HEADERS} ${P3DISPLAY_SOURCES})
|
||||
target_link_libraries(p3display p3cull p3pgraphnodes)
|
||||
target_interrogate(p3display ALL)
|
||||
|
||||
install(TARGETS p3display DESTINATION lib)
|
||||
|
||||
if(OSX_PLATFORM AND HAVE_P3D_PLUGIN)
|
||||
# We build a static library of just these files, so the plugin can
|
||||
# link with it in direct/src/plugin, without pulling in the rest of
|
||||
|
||||
@@ -66,3 +66,5 @@ composite_sources(p3downloader P3DOWNLOADER_SOURCES)
|
||||
add_library(p3downloader ${P3DOWNLOADER_SOURCES} ${P3DOWNLOADER_HEADERS})
|
||||
target_link_libraries(p3downloader p3express)
|
||||
target_interrogate(p3downloader ALL)
|
||||
|
||||
install(TARGETS p3downloader DESTINATION lib)
|
||||
|
||||
@@ -97,4 +97,6 @@ if(HAVE_EGG)
|
||||
add_library(p3egg ${P3EGG_HEADERS} ${P3EGG_SOURCES} ${P3EGG_PARSER_SOURCES})
|
||||
target_link_libraries(p3egg p3prc p3pandabase p3express p3linmath p3mathutil)
|
||||
target_interrogate(p3egg ${P3EGG_HEADERS} ${P3EGG_SOURCES})
|
||||
|
||||
install(TARGETS p3egg DESTINATION lib)
|
||||
endif()
|
||||
|
||||
@@ -33,4 +33,6 @@ if(HAVE_EGG)
|
||||
add_library(p3egg2pg ${P3EGG2PG_HEADERS} ${P3EGG2PG_SOURCES})
|
||||
target_link_libraries(p3egg2pg p3parametrics p3collide p3egg p3pgraph p3chan p3char)
|
||||
target_interrogate(p3egg2pg ALL)
|
||||
|
||||
install(TARGETS p3egg2pg DESTINATION lib)
|
||||
endif()
|
||||
|
||||
@@ -41,6 +41,8 @@ add_library(p3event ${P3EVENT_HEADERS} ${P3EVENT_SOURCES})
|
||||
target_link_libraries(p3event p3linmath p3pstatclient)
|
||||
target_interrogate(p3event ALL)
|
||||
|
||||
install(TARGETS p3event DESTINATION lib)
|
||||
|
||||
#begin test_bin_target
|
||||
#define TARGET test_task
|
||||
#define LOCAL_LIBS $[LOCAL_LIBS] p3mathutil
|
||||
@@ -51,4 +53,4 @@ target_interrogate(p3event ALL)
|
||||
#define SOURCES \
|
||||
# test_task.cxx
|
||||
|
||||
#end test_bin_target
|
||||
#end test_bin_target
|
||||
|
||||
@@ -130,6 +130,8 @@ target_link_libraries(p3express p3pandabase p3dtool p3dtoolconfig
|
||||
${_TAR_LIBRARY})
|
||||
target_interrogate(p3express ALL)
|
||||
|
||||
install(TARGETS p3express DESTINATION lib)
|
||||
|
||||
#add_executable(p3expressTestTypes test_types.cxx)
|
||||
#target_link_libraries(p3expressTestTypes p3express p3dtoolutil p3dtool p3prc p3dtoolconfig p3pystub)
|
||||
#add_test(p3express_test_types p3expressTestTypes)
|
||||
|
||||
@@ -58,3 +58,5 @@ endif()
|
||||
composite_sources(p3framework P3FRAMEWORK_SOURCES)
|
||||
add_library(p3framework ${P3FRAMEWORK_HEADERS} ${P3FRAMEWORK_SOURCES})
|
||||
target_link_libraries(p3framework ${P3FRAMEWORK_LINK_TARGETS})
|
||||
|
||||
install(TARGETS p3framework DESTINATION lib)
|
||||
|
||||
@@ -12,4 +12,6 @@ if(HAVE_GL)
|
||||
add_library(p3glgsg ${P3GLGSG_HEADERS} ${P3GLGSG_SOURCES})
|
||||
target_link_libraries(p3glgsg p3glstuff p3display
|
||||
${OPENGL_LIBRARIES} ${_CG_LIBRARIES})
|
||||
|
||||
install(TARGETS p3glgsg DESTINATION lib)
|
||||
endif()
|
||||
|
||||
@@ -33,4 +33,6 @@ if(HAVE_GL)
|
||||
composite_sources(p3glstuff P3GLSTUFF_SOURCES)
|
||||
add_library(p3glstuff ${P3GLSTUFF_HEADERS} ${P3GLSTUFF_SOURCES})
|
||||
target_link_libraries(p3glstuff p3pandabase p3gobj)
|
||||
|
||||
install(TARGETS p3glstuff DESTINATION lib)
|
||||
endif()
|
||||
|
||||
@@ -23,4 +23,6 @@ if(HAVE_GLX)
|
||||
composite_sources(p3glxdisplay P3GLXDISPLAY_SOURCES)
|
||||
add_library(p3glxdisplay ${P3GLXDISPLAY_HEADERS} ${P3GLXDISPLAY_SOURCES})
|
||||
target_link_libraries(p3glxdisplay p3glgsg p3x11display)
|
||||
|
||||
install(TARGETS p3glxdisplay DESTINATION lib)
|
||||
endif()
|
||||
|
||||
@@ -147,6 +147,8 @@ target_link_libraries(p3gobj p3gsgbase p3pnmimage
|
||||
${_ZLIB_LIBRARIES} ${_SQUISH_LIBRARY} ${_CG_LIBRARIES})
|
||||
target_interrogate(p3gobj ALL)
|
||||
|
||||
install(TARGETS p3gobj DESTINATION lib)
|
||||
|
||||
#begin test_bin_target
|
||||
#define TARGET test_gobj
|
||||
#define LOCAL_LIBS \
|
||||
|
||||
@@ -42,3 +42,5 @@ if(HAVE_AUDIO)
|
||||
target_link_libraries(p3grutil p3audio)
|
||||
endif()
|
||||
target_interrogate(p3grutil ALL)
|
||||
|
||||
install(TARGETS p3grutil DESTINATION lib)
|
||||
|
||||
@@ -17,6 +17,8 @@ add_library(p3gsgbase ${P3GSGBASE_HEADERS} ${P3GSGBASE_SOURCES})
|
||||
target_link_libraries(p3gsgbase p3linmath)
|
||||
target_interrogate(p3gsgbase ALL)
|
||||
|
||||
install(TARGETS p3gsgbase DESTINATION lib)
|
||||
|
||||
#begin test_bin_target
|
||||
#define TARGET test_gsgbase
|
||||
#define LOCAL_LIBS
|
||||
|
||||
@@ -47,6 +47,8 @@ add_library(p3linmath ${P3LINMATH_HEADERS} ${P3LINMATH_SOURCES})
|
||||
target_link_libraries(p3linmath p3putil)
|
||||
target_interrogate(p3linmath ALL)
|
||||
|
||||
install(TARGETS p3linmath DESTINATION lib)
|
||||
|
||||
#begin test_bin_target
|
||||
#define TARGET test_math
|
||||
#define LOCAL_LIBS \
|
||||
|
||||
@@ -65,6 +65,8 @@ add_library(p3mathutil ${P3MATHUTIL_HEADERS} ${P3MATHUTIL_SOURCES})
|
||||
target_link_libraries(p3mathutil p3event ${FFTW2_LIBRARY_DIR})
|
||||
target_interrogate(p3mathutil ALL)
|
||||
|
||||
install(TARGETS p3mathutil DESTINATION lib)
|
||||
|
||||
#begin test_bin_target
|
||||
#define TARGET test_mathutil
|
||||
#define LOCAL_LIBS \
|
||||
|
||||
@@ -37,3 +37,5 @@ composite_sources(p3movies P3MOVIES_SOURCES)
|
||||
add_library(p3movies ${P3MOVIES_HEADERS} ${P3MOVIES_SOURCES})
|
||||
target_link_libraries(p3movies p3pandabase p3express p3pstatclient p3gobj p3dconfig p3prc)
|
||||
target_interrogate(p3movies ALL)
|
||||
|
||||
install(TARGETS p3movies DESTINATION lib)
|
||||
|
||||
@@ -27,4 +27,6 @@ if(WANT_NATIVE_NET)
|
||||
add_library(p3nativenet ${P3NATIVENET_HEADERS} ${P3NATIVENET_SOURCES})
|
||||
target_link_libraries(p3nativenet p3express p3pandabase)
|
||||
target_interrogate(p3nativenet ALL)
|
||||
|
||||
install(TARGETS p3nativenet DESTINATION lib)
|
||||
endif()
|
||||
|
||||
@@ -29,4 +29,6 @@ if(HAVE_NET AND WANT_NATIVE_NET)
|
||||
add_library(p3net ${P3NET_HEADERS} ${P3NET_SOURCES})
|
||||
target_link_libraries(p3net p3express p3downloader p3pandabase p3nativenet p3pipeline)
|
||||
target_interrogate(p3net ALL)
|
||||
|
||||
install(TARGETS p3net DESTINATION lib)
|
||||
endif()
|
||||
|
||||
@@ -8,3 +8,5 @@ set(P3PANDABASE_SOURCES
|
||||
|
||||
add_library(p3pandabase ${P3PANDABASE_HEADERS} ${P3PANDABASE_SOURCES})
|
||||
target_link_libraries(p3pandabase p3dtoolbase)
|
||||
|
||||
install(TARGETS p3pandabase DESTINATION lib)
|
||||
|
||||
@@ -38,6 +38,8 @@ add_library(p3parametrics ${P3PARAMETRICS_SOURCES} ${P3PARAMETRICS_HEADERS})
|
||||
target_link_libraries(p3parametrics p3pgraph)
|
||||
target_interrogate(p3parametrics ALL)
|
||||
|
||||
install(TARGETS p3parametrics DESTINATION lib)
|
||||
|
||||
#begin test_bin_target
|
||||
#define TARGET test_parametrics
|
||||
#define LOCAL_LIBS
|
||||
|
||||
@@ -201,6 +201,8 @@ add_library(p3pgraph ${P3PGRAPH_HEADERS} ${P3PGRAPH_SOURCES})
|
||||
target_link_libraries(p3pgraph p3gobj p3event p3gsgbase p3putil p3linmath p3downloader)
|
||||
target_interrogate(p3pgraph ALL)
|
||||
|
||||
install(TARGETS p3pgraph DESTINATION lib)
|
||||
|
||||
|
||||
#begin test_bin_target
|
||||
#define TARGET test_pgraph
|
||||
|
||||
@@ -42,3 +42,5 @@ composite_sources(p3pgraphnodes P3PGRAPHNODES_SOURCES)
|
||||
add_library(p3pgraphnodes ${P3PGRAPHNODES_HEADERS} ${P3PGRAPHNODES_SOURCES})
|
||||
target_link_libraries(p3pgraphnodes p3pgraph)
|
||||
target_interrogate(p3pgraphnodes ALL)
|
||||
|
||||
install(TARGETS p3pgraphnodes DESTINATION lib)
|
||||
|
||||
@@ -44,6 +44,8 @@ add_library(p3pgui ${P3PGUI_SOURCES} ${P3PGUI_HEADERS})
|
||||
target_link_libraries(p3pgui p3tform)
|
||||
target_interrogate(p3pgui ALL)
|
||||
|
||||
install(TARGETS p3pgui DESTINATION lib)
|
||||
|
||||
#begin test_bin_target
|
||||
#define TARGET test_pgentry
|
||||
|
||||
|
||||
@@ -140,6 +140,8 @@ add_library(p3pipeline ${P3PIPELINE_HEADERS} ${P3PIPELINE_SOURCES})
|
||||
target_link_libraries(p3pipeline p3express)
|
||||
target_interrogate(p3pipeline ALL)
|
||||
|
||||
install(TARGETS p3pipeline DESTINATION lib)
|
||||
|
||||
#begin test_bin_target
|
||||
#define TARGET test_threaddata
|
||||
#define LOCAL_LIBS $[LOCAL_LIBS] p3pipeline
|
||||
|
||||
@@ -28,3 +28,5 @@ composite_sources(p3pnmimage P3PNMIMAGE_SOURCES)
|
||||
add_library(p3pnmimage ${P3PNMIMAGE_HEADERS} ${P3PNMIMAGE_SOURCES})
|
||||
target_link_libraries(p3pnmimage p3mathutil)
|
||||
target_interrogate(p3pnmimage ALL)
|
||||
|
||||
install(TARGETS p3pnmimage DESTINATION lib)
|
||||
|
||||
@@ -30,3 +30,5 @@ composite_sources(p3pnmimagetypes P3PNMIMAGETYPES_SOURCES)
|
||||
add_library(p3pnmimagetypes ${P3PNMIMAGETYPES_HEADERS} ${P3PNMIMAGETYPES_SOURCES})
|
||||
target_link_libraries(p3pnmimagetypes p3pnmimage ${_JPEG_LIBRARIES}
|
||||
${_TIFF_LIBRARIES} ${_PNG_LIBRARIES})
|
||||
|
||||
install(TARGETS p3pnmimagetypes DESTINATION lib)
|
||||
|
||||
@@ -17,3 +17,5 @@ composite_sources(p3pnmtext P3PNMTEXT_SOURCES)
|
||||
add_library(p3pnmtext ${P3PNMTEXT_SOURCES} ${P3PNMTEXT_HEADERS})
|
||||
target_link_libraries(p3pnmtext p3pnmimage ${_FREETYPE_LIBRARIES})
|
||||
target_interrogate(p3pnmtext ALL)
|
||||
|
||||
install(TARGETS p3pnmtext DESTINATION lib)
|
||||
|
||||
@@ -27,6 +27,8 @@ add_library(p3pstatclient ${P3PSTATCLIENT_HEADERS} ${P3PSTATCLIENT_SOURCES})
|
||||
target_link_libraries(p3pstatclient p3putil)
|
||||
target_interrogate(p3pstatclient ALL)
|
||||
|
||||
install(TARGETS p3pstatclient DESTINATION lib)
|
||||
|
||||
#begin test_bin_target
|
||||
#define LOCAL_LIBS \
|
||||
# p3pstatclient
|
||||
|
||||
@@ -117,6 +117,8 @@ add_library(p3putil ${P3PUTIL_HEADERS} ${P3PUTIL_SOURCES})
|
||||
target_link_libraries(p3putil p3pipeline)
|
||||
target_interrogate(p3putil ALL)
|
||||
|
||||
install(TARGETS p3putil DESTINATION lib)
|
||||
|
||||
#begin test_bin_target
|
||||
#define TARGET test_bamRead
|
||||
#define LOCAL_LIBS
|
||||
|
||||
@@ -20,3 +20,5 @@ composite_sources(p3recorder P3RECORDER_SOURCES)
|
||||
add_library(p3recorder ${P3RECORDER_SOURCES} ${P3RECORDER_HEADERS})
|
||||
target_link_libraries(p3recorder p3dgraph p3downloader)
|
||||
target_interrogate(p3recorder ALL)
|
||||
|
||||
install(TARGETS p3recorder DESTINATION lib)
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
add_executable(pview pview.cxx)
|
||||
target_link_libraries(pview p3framework p3pystub)
|
||||
install(TARGETS pview DESTINATION bin)
|
||||
|
||||
#begin test_bin_target
|
||||
#define TARGET pgrid
|
||||
|
||||
@@ -36,3 +36,5 @@ composite_sources(p3text P3TEXT_SOURCES)
|
||||
add_library(p3text ${P3TEXT_SOURCES} ${P3TEXT_HEADERS})
|
||||
target_link_libraries(p3text p3pnmtext p3parametrics ${_FREETYPE_LIBRARIES})
|
||||
target_interrogate(p3text ALL)
|
||||
|
||||
install(TARGETS p3text DESTINATION lib)
|
||||
|
||||
@@ -28,3 +28,5 @@ composite_sources(p3tform P3TFORM_SOURCES)
|
||||
add_library(p3tform ${P3TFORM_SOURCES} ${P3TFORM_HEADERS})
|
||||
target_link_libraries(p3tform p3device p3grutil)
|
||||
target_interrogate(p3tform ALL)
|
||||
|
||||
install(TARGETS p3tform DESTINATION lib)
|
||||
|
||||
@@ -11,4 +11,6 @@ if(HAVE_X11)
|
||||
composite_sources(p3x11display P3X11DISPLAY_SOURCES)
|
||||
add_library(p3x11display ${P3X11DISPLAY_HEADERS} ${P3X11DISPLAY_SOURCES})
|
||||
target_link_libraries(p3x11display p3display ${X11_LIBRARIES})
|
||||
|
||||
install(TARGETS p3x11display DESTINATION lib)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user