diff --git a/direct/src/dcparser/CMakeLists.txt b/direct/src/dcparser/CMakeLists.txt index cfb105bfcf..917d517774 100644 --- a/direct/src/dcparser/CMakeLists.txt +++ b/direct/src/dcparser/CMakeLists.txt @@ -53,3 +53,4 @@ target_link_libraries(p3dcparser p3directbase p3express p3pstatclient p3prc) target_interrogate(p3dcparser ${P3DCPARSER_HEADERS} ${P3DCPARSER_SOURCES}) install(TARGETS p3dcparser DESTINATION lib) +install(FILES ${P3DCPARSER_HEADERS} DESTINATION include/panda3d) diff --git a/direct/src/deadrec/CMakeLists.txt b/direct/src/deadrec/CMakeLists.txt index 669d98b28f..26e745268d 100644 --- a/direct/src/deadrec/CMakeLists.txt +++ b/direct/src/deadrec/CMakeLists.txt @@ -11,3 +11,4 @@ target_link_libraries(p3deadrec p3directbase p3linmath p3pgraph p3prc) target_interrogate(p3deadrec ALL) install(TARGETS p3deadrec DESTINATION lib) +install(FILES ${P3DEADREC_HEADERS} DESTINATION include/panda3d) diff --git a/direct/src/directbase/CMakeLists.txt b/direct/src/directbase/CMakeLists.txt index d8722cb41d..7db522fc65 100644 --- a/direct/src/directbase/CMakeLists.txt +++ b/direct/src/directbase/CMakeLists.txt @@ -11,3 +11,4 @@ add_library(p3directbase ${P3DIRECTBASE_HEADERS} ${P3DIRECTBASE_SOURCES}) target_link_libraries(p3directbase p3pandabase) install(TARGETS p3directbase DESTINATION lib) +install(FILES ${P3DIRECTBASE_HEADERS} DESTINATION include/panda3d) diff --git a/direct/src/distributed/CMakeLists.txt b/direct/src/distributed/CMakeLists.txt index 0da55087a1..1b4c06be44 100644 --- a/direct/src/distributed/CMakeLists.txt +++ b/direct/src/distributed/CMakeLists.txt @@ -23,4 +23,5 @@ if(HAVE_PYTHON) target_interrogate(p3distributed ALL) install(TARGETS p3distributed DESTINATION lib) + install(FILES ${P3DISTRIBUTED_HEADERS} DESTINATION include/panda3d) endif() diff --git a/direct/src/interval/CMakeLists.txt b/direct/src/interval/CMakeLists.txt index 6931de86c9..346222657e 100644 --- a/direct/src/interval/CMakeLists.txt +++ b/direct/src/interval/CMakeLists.txt @@ -41,3 +41,4 @@ target_link_libraries(p3interval p3directbase p3pstatclient p3pgraph p3chan p3dc target_interrogate(p3interval ALL) install(TARGETS p3interval DESTINATION lib) +install(FILES ${P3INTERVAL_HEADERS} DESTINATION include/panda3d) diff --git a/dtool/src/dconfig/CMakeLists.txt b/dtool/src/dconfig/CMakeLists.txt index f07c356b58..9a4280f7a7 100644 --- a/dtool/src/dconfig/CMakeLists.txt +++ b/dtool/src/dconfig/CMakeLists.txt @@ -10,3 +10,4 @@ add_library(p3dconfig ${P3DCONFIG_HEADERS} ${P3DCONFIG_SOURCES}) target_link_libraries(p3dconfig p3prc) install(TARGETS p3dconfig DESTINATION lib) +install(FILES ${P3DCONFIG_HEADERS} DESTINATION include/panda3d) diff --git a/dtool/src/dtoolbase/CMakeLists.txt b/dtool/src/dtoolbase/CMakeLists.txt index e4deb8a11c..fa6f94b6b1 100644 --- a/dtool/src/dtoolbase/CMakeLists.txt +++ b/dtool/src/dtoolbase/CMakeLists.txt @@ -68,3 +68,4 @@ add_library(p3dtoolbase ${P3DTOOLBASE_HEADERS} ${P3DTOOLBASE_SOURCES}) target_use_packages(p3dtoolbase THREADS PYTHON) install(TARGETS p3dtoolbase DESTINATION lib) +install(FILES ${P3DTOOLBASE_HEADERS} DESTINATION include/panda3d) diff --git a/dtool/src/dtoolutil/CMakeLists.txt b/dtool/src/dtoolutil/CMakeLists.txt index bcfa1c04a2..de973ec598 100644 --- a/dtool/src/dtoolutil/CMakeLists.txt +++ b/dtool/src/dtoolutil/CMakeLists.txt @@ -4,6 +4,7 @@ configure_file(checkPandaVersion.cxx.in checkPandaVersion.cxx) set(P3DTOOLUTIL_HEADERS ${CMAKE_CURRENT_BINARY_DIR}/checkPandaVersion.h + ${CMAKE_CURRENT_BINARY_DIR}/pandaVersion.h config_dtoolutil.h dSearchPath.I dSearchPath.h executionEnvironment.I executionEnvironment.h filename.I @@ -14,7 +15,7 @@ set(P3DTOOLUTIL_HEADERS load_dso.h pandaFileStream.h pandaFileStream.I pandaFileStreamBuf.h - pandaSystem.h pandaVersion.h + pandaSystem.h panda_getopt.h panda_getopt_long.h panda_getopt_impl.h pfstream.h pfstream.I pfstreamBuf.h preprocess_argv.h @@ -68,3 +69,4 @@ if(APPLE) endif() install(TARGETS p3dtoolutil DESTINATION lib) +install(FILES ${P3DTOOLUTIL_HEADERS} DESTINATION include/panda3d) diff --git a/dtool/src/interrogatedb/CMakeLists.txt b/dtool/src/interrogatedb/CMakeLists.txt index 47a9ed14dd..fddc089a3e 100644 --- a/dtool/src/interrogatedb/CMakeLists.txt +++ b/dtool/src/interrogatedb/CMakeLists.txt @@ -31,3 +31,4 @@ add_library(p3interrogatedb ${P3INTERROGATEDB_HEADERS} ${P3INTERROGATEDB_SOURCES target_link_libraries(p3interrogatedb p3dconfig) install(TARGETS p3interrogatedb DESTINATION lib) +install(FILES ${P3INTERROGATEDB_HEADERS} DESTINATION include/panda3d) diff --git a/dtool/src/prc/CMakeLists.txt b/dtool/src/prc/CMakeLists.txt index ad2213024f..14f9d2959c 100644 --- a/dtool/src/prc/CMakeLists.txt +++ b/dtool/src/prc/CMakeLists.txt @@ -68,3 +68,4 @@ add_library(p3prc ${P3PRC_HEADERS} ${P3PRC_SOURCES}) target_link_libraries(p3prc p3dtoolutil p3dtoolbase ${_OPENSSL_LIBRARIES}) install(TARGETS p3prc DESTINATION lib) +install(FILES ${P3PRC_HEADERS} DESTINATION include/panda3d) diff --git a/dtool/src/pystub/CMakeLists.txt b/dtool/src/pystub/CMakeLists.txt index 0054a7a948..09cc066b09 100644 --- a/dtool/src/pystub/CMakeLists.txt +++ b/dtool/src/pystub/CMakeLists.txt @@ -3,3 +3,4 @@ set(P3PYSTUB_SOURCES pystub.cxx) add_library(p3pystub STATIC ${P3PYSTUB_HEADERS} ${P3PYSTUB_SOURCES}) target_link_libraries(p3pystub p3dtoolbase) +install(FILES ${P3PYSTUB_HEADERS} DESTINATION include/panda3d) diff --git a/panda/src/audio/CMakeLists.txt b/panda/src/audio/CMakeLists.txt index b674c313f7..b382e1ab8c 100644 --- a/panda/src/audio/CMakeLists.txt +++ b/panda/src/audio/CMakeLists.txt @@ -23,4 +23,5 @@ if(HAVE_AUDIO) target_interrogate(p3audio ALL) install(TARGETS p3audio DESTINATION lib) + install(FILES ${P3AUDIO_HEADERS} DESTINATION include/panda3d) endif() diff --git a/panda/src/chan/CMakeLists.txt b/panda/src/chan/CMakeLists.txt index 63af290c67..2a1522b0d7 100644 --- a/panda/src/chan/CMakeLists.txt +++ b/panda/src/chan/CMakeLists.txt @@ -58,3 +58,4 @@ target_link_libraries(p3chan p3pgraph) target_interrogate(p3chan ALL) install(TARGETS p3chan DESTINATION lib) +install(FILES ${P3CHAN_HEADERS} DESTINATION include/panda3d) diff --git a/panda/src/char/CMakeLists.txt b/panda/src/char/CMakeLists.txt index 8196969d63..fa4af297d2 100644 --- a/panda/src/char/CMakeLists.txt +++ b/panda/src/char/CMakeLists.txt @@ -24,3 +24,4 @@ target_link_libraries(p3char p3chan) target_interrogate(p3char ALL) install(TARGETS p3char DESTINATION lib) +install(FILES ${P3CHAR_HEADERS} DESTINATION include/panda3d) diff --git a/panda/src/collide/CMakeLists.txt b/panda/src/collide/CMakeLists.txt index 5ba2b5cae7..e8c511531c 100644 --- a/panda/src/collide/CMakeLists.txt +++ b/panda/src/collide/CMakeLists.txt @@ -68,6 +68,7 @@ target_link_libraries(p3collide p3tform) target_interrogate(p3collide ALL) install(TARGETS p3collide DESTINATION lib) +install(FILES ${P3COLLIDE_HEADERS} DESTINATION include/panda3d) #begin test_bin_target #define TARGET test_collide diff --git a/panda/src/cull/CMakeLists.txt b/panda/src/cull/CMakeLists.txt index 4b8001920f..22e0e6d1a9 100644 --- a/panda/src/cull/CMakeLists.txt +++ b/panda/src/cull/CMakeLists.txt @@ -26,3 +26,4 @@ target_link_libraries(p3cull p3pgraph) target_interrogate(p3cull ALL) install(TARGETS p3cull DESTINATION lib) +install(FILES ${P3CULL_HEADERS} DESTINATION include/panda3d) diff --git a/panda/src/device/CMakeLists.txt b/panda/src/device/CMakeLists.txt index 91e7dfbee1..5e2daf8d23 100644 --- a/panda/src/device/CMakeLists.txt +++ b/panda/src/device/CMakeLists.txt @@ -32,3 +32,4 @@ target_link_libraries(p3device p3dgraph p3display) target_interrogate(p3device ALL) install(TARGETS p3device DESTINATION lib) +install(FILES ${P3DEVICE_HEADERS} DESTINATION include/panda3d) diff --git a/panda/src/dgraph/CMakeLists.txt b/panda/src/dgraph/CMakeLists.txt index 592d34acff..2be765d73a 100644 --- a/panda/src/dgraph/CMakeLists.txt +++ b/panda/src/dgraph/CMakeLists.txt @@ -17,3 +17,4 @@ target_link_libraries(p3dgraph p3pgraph) target_interrogate(p3dgraph ALL) install(TARGETS p3dgraph DESTINATION lib) +install(FILES ${P3DGRAPH_HEADERS} DESTINATION include/panda3d) diff --git a/panda/src/display/CMakeLists.txt b/panda/src/display/CMakeLists.txt index 245e8c8ce7..c4d562692c 100644 --- a/panda/src/display/CMakeLists.txt +++ b/panda/src/display/CMakeLists.txt @@ -92,6 +92,7 @@ target_link_libraries(p3display p3cull p3pgraphnodes) target_interrogate(p3display ALL EXTENSIONS ${P3DISPLAY_IGATEEXT}) install(TARGETS p3display DESTINATION lib) +install(FILES ${P3DISPLAY_HEADERS} DESTINATION include/panda3d) if(OSX_PLATFORM AND HAVE_P3D_PLUGIN) # We build a static library of just these files, so the plugin can diff --git a/panda/src/downloader/CMakeLists.txt b/panda/src/downloader/CMakeLists.txt index 34f0037cd3..f6a4917ba0 100644 --- a/panda/src/downloader/CMakeLists.txt +++ b/panda/src/downloader/CMakeLists.txt @@ -73,3 +73,4 @@ target_link_libraries(p3downloader p3express p3pipeline) target_interrogate(p3downloader ALL EXTENSIONS ${P3DOWNLOADER_IGATEEXT}) install(TARGETS p3downloader DESTINATION lib) +install(FILES ${P3DOWNLOADER_HEADERS} DESTINATION include/panda3d) diff --git a/panda/src/dxml/CMakeLists.txt b/panda/src/dxml/CMakeLists.txt index 1c889c3351..1ed083a8e0 100644 --- a/panda/src/dxml/CMakeLists.txt +++ b/panda/src/dxml/CMakeLists.txt @@ -17,3 +17,4 @@ target_link_libraries(p3dxml p3express) target_interrogate(p3dxml ALL) install(TARGETS p3dxml DESTINATION lib) +install(FILES ${P3DXML_HEADERS} DESTINATION include/panda3d) diff --git a/panda/src/egg/CMakeLists.txt b/panda/src/egg/CMakeLists.txt index caa59abeef..08f881044f 100644 --- a/panda/src/egg/CMakeLists.txt +++ b/panda/src/egg/CMakeLists.txt @@ -104,4 +104,5 @@ if(HAVE_EGG) target_interrogate(p3egg ${P3EGG_HEADERS} ${P3EGG_SOURCES} EXTENSIONS ${P3EGG_IGATEEXT}) install(TARGETS p3egg DESTINATION lib) + install(FILES ${P3EGG_HEADERS} DESTINATION include/panda3d) endif() diff --git a/panda/src/egg2pg/CMakeLists.txt b/panda/src/egg2pg/CMakeLists.txt index 71d91c3365..c7b23c8acf 100644 --- a/panda/src/egg2pg/CMakeLists.txt +++ b/panda/src/egg2pg/CMakeLists.txt @@ -35,4 +35,5 @@ if(HAVE_EGG) target_interrogate(p3egg2pg ALL) install(TARGETS p3egg2pg DESTINATION lib) + install(FILES ${P3EGG2PG_HEADERS} DESTINATION include/panda3d) endif() diff --git a/panda/src/event/CMakeLists.txt b/panda/src/event/CMakeLists.txt index b2976a4136..fd65faf346 100644 --- a/panda/src/event/CMakeLists.txt +++ b/panda/src/event/CMakeLists.txt @@ -46,6 +46,7 @@ target_link_libraries(p3event p3linmath p3pstatclient) target_interrogate(p3event ALL EXTENSIONS ${P3EVENT_IGATEEXT}) install(TARGETS p3event DESTINATION lib) +install(FILES ${P3EVENT_HEADERS} DESTINATION include/panda3d) #begin test_bin_target #define TARGET test_task diff --git a/panda/src/express/CMakeLists.txt b/panda/src/express/CMakeLists.txt index 78b0bd196d..6304ae8be6 100644 --- a/panda/src/express/CMakeLists.txt +++ b/panda/src/express/CMakeLists.txt @@ -155,6 +155,7 @@ if(WIN32) endif() install(TARGETS p3express DESTINATION lib) +install(FILES ${P3EXPRESS_HEADERS} DESTINATION include/panda3d) #add_executable(p3expressTestTypes test_types.cxx) #target_link_libraries(p3expressTestTypes p3express p3dtoolutil p3dtool p3prc p3dtoolconfig p3pystub) diff --git a/panda/src/ffmpeg/CMakeLists.txt b/panda/src/ffmpeg/CMakeLists.txt index 932e080782..b8a41c2b6e 100644 --- a/panda/src/ffmpeg/CMakeLists.txt +++ b/panda/src/ffmpeg/CMakeLists.txt @@ -23,4 +23,5 @@ if(HAVE_FFMPEG) target_use_packages(p3ffmpeg FFMPEG SWSCALE SWRESAMPLE) install(TARGETS p3ffmpeg DESTINATION lib) + install(FILES ${P3FFMPEG_HEADERS} DESTINATION include/panda3d) endif() diff --git a/panda/src/framework/CMakeLists.txt b/panda/src/framework/CMakeLists.txt index cf74d523d9..ff441c724a 100644 --- a/panda/src/framework/CMakeLists.txt +++ b/panda/src/framework/CMakeLists.txt @@ -55,3 +55,4 @@ add_library(p3framework ${P3FRAMEWORK_HEADERS} ${P3FRAMEWORK_SOURCES}) target_link_libraries(p3framework ${P3FRAMEWORK_LINK_TARGETS}) install(TARGETS p3framework DESTINATION lib) +install(FILES ${P3FRAMEWORK_HEADERS} DESTINATION include/panda3d) diff --git a/panda/src/glgsg/CMakeLists.txt b/panda/src/glgsg/CMakeLists.txt index 676ee264eb..94817a9805 100644 --- a/panda/src/glgsg/CMakeLists.txt +++ b/panda/src/glgsg/CMakeLists.txt @@ -14,4 +14,5 @@ if(HAVE_GL) ${OPENGL_LIBRARIES} ${_CG_LIBRARIES}) install(TARGETS p3glgsg DESTINATION lib) + install(FILES ${P3GLGSG_HEADERS} DESTINATION include/panda3d) endif() diff --git a/panda/src/glstuff/CMakeLists.txt b/panda/src/glstuff/CMakeLists.txt index 527e9e827f..6326195a0e 100644 --- a/panda/src/glstuff/CMakeLists.txt +++ b/panda/src/glstuff/CMakeLists.txt @@ -35,4 +35,5 @@ if(HAVE_GL) target_link_libraries(p3glstuff p3pandabase p3gobj) install(TARGETS p3glstuff DESTINATION lib) + install(FILES ${P3GLSTUFF_HEADERS} DESTINATION include/panda3d) endif() diff --git a/panda/src/gobj/CMakeLists.txt b/panda/src/gobj/CMakeLists.txt index f05b1d65c9..5064b2263d 100644 --- a/panda/src/gobj/CMakeLists.txt +++ b/panda/src/gobj/CMakeLists.txt @@ -166,6 +166,7 @@ target_link_libraries(p3gobj p3gsgbase p3pnmimage target_interrogate(p3gobj ALL EXTENSIONS ${P3GOBJ_IGATEEXT}) install(TARGETS p3gobj DESTINATION lib) +install(FILES ${P3GOBJ_HEADERS} DESTINATION include/panda3d) #begin test_bin_target #define TARGET test_gobj diff --git a/panda/src/grutil/CMakeLists.txt b/panda/src/grutil/CMakeLists.txt index e4090fa2a4..38c21a3c2c 100644 --- a/panda/src/grutil/CMakeLists.txt +++ b/panda/src/grutil/CMakeLists.txt @@ -46,3 +46,4 @@ endif() target_interrogate(p3grutil ALL) install(TARGETS p3grutil DESTINATION lib) +install(FILES ${P3GRUTIL_HEADERS} DESTINATION include/panda3d) diff --git a/panda/src/gsgbase/CMakeLists.txt b/panda/src/gsgbase/CMakeLists.txt index e10fc246e6..b6b0e1a93b 100644 --- a/panda/src/gsgbase/CMakeLists.txt +++ b/panda/src/gsgbase/CMakeLists.txt @@ -18,6 +18,7 @@ target_link_libraries(p3gsgbase p3putil p3linmath) target_interrogate(p3gsgbase ALL) install(TARGETS p3gsgbase DESTINATION lib) +install(FILES ${P3GSGBASE_HEADERS} DESTINATION include/panda3d) #begin test_bin_target #define TARGET test_gsgbase diff --git a/panda/src/linmath/CMakeLists.txt b/panda/src/linmath/CMakeLists.txt index ae085bc6db..be69df108f 100644 --- a/panda/src/linmath/CMakeLists.txt +++ b/panda/src/linmath/CMakeLists.txt @@ -49,6 +49,7 @@ target_link_libraries(p3linmath p3express p3pandabase) target_interrogate(p3linmath ALL) install(TARGETS p3linmath DESTINATION lib) +install(FILES ${P3LINMATH_HEADERS} DESTINATION include/panda3d) #begin test_bin_target #define TARGET test_math diff --git a/panda/src/mathutil/CMakeLists.txt b/panda/src/mathutil/CMakeLists.txt index 7a482eda35..6227880573 100644 --- a/panda/src/mathutil/CMakeLists.txt +++ b/panda/src/mathutil/CMakeLists.txt @@ -66,6 +66,7 @@ target_link_libraries(p3mathutil p3event ${FFTW2_LIBRARY_DIR}) target_interrogate(p3mathutil ALL) install(TARGETS p3mathutil DESTINATION lib) +install(FILES ${P3MATHUTIL_HEADERS} DESTINATION include/panda3d) #begin test_bin_target #define TARGET test_mathutil diff --git a/panda/src/movies/CMakeLists.txt b/panda/src/movies/CMakeLists.txt index 24f0ccebf2..d03f166479 100644 --- a/panda/src/movies/CMakeLists.txt +++ b/panda/src/movies/CMakeLists.txt @@ -43,3 +43,4 @@ target_link_libraries(p3movies p3pandabase p3express p3pstatclient p3gobj p3dcon target_interrogate(p3movies ALL) install(TARGETS p3movies DESTINATION lib) +install(FILES ${P3MOVIES_HEADERS} DESTINATION include/panda3d) diff --git a/panda/src/nativenet/CMakeLists.txt b/panda/src/nativenet/CMakeLists.txt index 128d2aaff9..ce3cb8191e 100644 --- a/panda/src/nativenet/CMakeLists.txt +++ b/panda/src/nativenet/CMakeLists.txt @@ -30,4 +30,5 @@ if(WANT_NATIVE_NET) target_interrogate(p3nativenet ALL) install(TARGETS p3nativenet DESTINATION lib) + install(FILES ${P3NATIVENET_HEADERS} DESTINATION include/panda3d) endif() diff --git a/panda/src/net/CMakeLists.txt b/panda/src/net/CMakeLists.txt index e052940e8e..c119cea610 100644 --- a/panda/src/net/CMakeLists.txt +++ b/panda/src/net/CMakeLists.txt @@ -35,4 +35,5 @@ if(HAVE_NET AND WANT_NATIVE_NET) endif() install(TARGETS p3net DESTINATION lib) + install(FILES ${P3NET_HEADERS} DESTINATION include/panda3d) endif() diff --git a/panda/src/ode/CMakeLists.txt b/panda/src/ode/CMakeLists.txt index 25795f4fc0..b5ed1e9840 100755 --- a/panda/src/ode/CMakeLists.txt +++ b/panda/src/ode/CMakeLists.txt @@ -87,4 +87,5 @@ if(HAVE_ODE) target_interrogate(p3ode ${P3ODE_IGATE_SOURCES} EXTENSIONS ${P3ODE_IGATEEXT}) install(TARGETS p3ode DESTINATION lib) + install(FILES ${P3ODE_HEADERS} DESTINATION include/panda3d) endif() diff --git a/panda/src/pandabase/CMakeLists.txt b/panda/src/pandabase/CMakeLists.txt index d43bb13e17..89eb1483ec 100644 --- a/panda/src/pandabase/CMakeLists.txt +++ b/panda/src/pandabase/CMakeLists.txt @@ -10,3 +10,4 @@ add_library(p3pandabase ${P3PANDABASE_HEADERS} ${P3PANDABASE_SOURCES}) target_link_libraries(p3pandabase p3dtoolbase) install(TARGETS p3pandabase DESTINATION lib) +install(FILES ${P3PANDABASE_HEADERS} DESTINATION include/panda3d) diff --git a/panda/src/parametrics/CMakeLists.txt b/panda/src/parametrics/CMakeLists.txt index ed92d61f8c..8e214964c5 100644 --- a/panda/src/parametrics/CMakeLists.txt +++ b/panda/src/parametrics/CMakeLists.txt @@ -39,6 +39,7 @@ target_link_libraries(p3parametrics p3pgraph) target_interrogate(p3parametrics ALL) install(TARGETS p3parametrics DESTINATION lib) +install(FILES ${P3PARAMETRICS_HEADERS} DESTINATION include/panda3d) #begin test_bin_target #define TARGET test_parametrics diff --git a/panda/src/particlesystem/CMakeLists.txt b/panda/src/particlesystem/CMakeLists.txt index f2e405b41b..75b970d4bd 100644 --- a/panda/src/particlesystem/CMakeLists.txt +++ b/panda/src/particlesystem/CMakeLists.txt @@ -43,3 +43,4 @@ target_link_libraries(p3particlesystem p3pgraph p3physics) target_interrogate(p3particlesystem ALL) install(TARGETS p3particlesystem DESTINATION lib) +install(FILES ${P3PARTICLESYSTEM_HEADERS} DESTINATION include/panda3d) diff --git a/panda/src/pgraph/CMakeLists.txt b/panda/src/pgraph/CMakeLists.txt index fdff3841d9..67da31fb98 100644 --- a/panda/src/pgraph/CMakeLists.txt +++ b/panda/src/pgraph/CMakeLists.txt @@ -218,6 +218,7 @@ target_link_libraries(p3pgraph p3gobj p3event p3gsgbase p3putil p3linmath p3down target_interrogate(p3pgraph ALL EXTENSIONS ${P3PGRAPH_IGATEEXT}) install(TARGETS p3pgraph DESTINATION lib) +install(FILES ${P3PGRAPH_HEADERS} DESTINATION include/panda3d) #begin test_bin_target diff --git a/panda/src/pgraphnodes/CMakeLists.txt b/panda/src/pgraphnodes/CMakeLists.txt index ceb9abe1a3..b1c745838f 100644 --- a/panda/src/pgraphnodes/CMakeLists.txt +++ b/panda/src/pgraphnodes/CMakeLists.txt @@ -50,3 +50,4 @@ target_link_libraries(p3pgraphnodes p3pgraph) target_interrogate(p3pgraphnodes ALL) install(TARGETS p3pgraphnodes DESTINATION lib) +install(FILES ${P3PGRAPHNODES_HEADERS} DESTINATION include/panda3d) diff --git a/panda/src/pgui/CMakeLists.txt b/panda/src/pgui/CMakeLists.txt index 19b83ad110..d7d425a087 100644 --- a/panda/src/pgui/CMakeLists.txt +++ b/panda/src/pgui/CMakeLists.txt @@ -45,6 +45,7 @@ target_link_libraries(p3pgui p3tform) target_interrogate(p3pgui ALL) install(TARGETS p3pgui DESTINATION lib) +install(FILES ${P3PGUI_HEADERS} DESTINATION include/panda3d) #begin test_bin_target #define TARGET test_pgentry diff --git a/panda/src/physics/CMakeLists.txt b/panda/src/physics/CMakeLists.txt index 3353864326..c74b40e6de 100644 --- a/panda/src/physics/CMakeLists.txt +++ b/panda/src/physics/CMakeLists.txt @@ -41,3 +41,4 @@ target_link_libraries(p3physics p3pgraph p3linmath p3collide) target_interrogate(p3physics ALL) install(TARGETS p3physics DESTINATION lib) +install(FILES ${P3PHYSICS_HEADERS} DESTINATION include/panda3d) diff --git a/panda/src/pipeline/CMakeLists.txt b/panda/src/pipeline/CMakeLists.txt index 29e5dfc586..141cb6ae4a 100644 --- a/panda/src/pipeline/CMakeLists.txt +++ b/panda/src/pipeline/CMakeLists.txt @@ -141,6 +141,7 @@ target_link_libraries(p3pipeline p3express) target_interrogate(p3pipeline ALL) install(TARGETS p3pipeline DESTINATION lib) +install(FILES ${P3PIPELINE_HEADERS} DESTINATION include/panda3d) #begin test_bin_target #define TARGET test_threaddata diff --git a/panda/src/pnmimage/CMakeLists.txt b/panda/src/pnmimage/CMakeLists.txt index a813a6fd1e..1cf9cc11b3 100644 --- a/panda/src/pnmimage/CMakeLists.txt +++ b/panda/src/pnmimage/CMakeLists.txt @@ -40,3 +40,4 @@ target_link_libraries(p3pnmimage p3mathutil) target_interrogate(p3pnmimage ALL EXTENSIONS ${P3PNMIMAGE_IGATEEXT}) install(TARGETS p3pnmimage DESTINATION lib) +install(FILES ${P3PNMIMAGE_HEADERS} DESTINATION include/panda3d) diff --git a/panda/src/pnmtext/CMakeLists.txt b/panda/src/pnmtext/CMakeLists.txt index ffb3388961..6ad9d8372a 100644 --- a/panda/src/pnmtext/CMakeLists.txt +++ b/panda/src/pnmtext/CMakeLists.txt @@ -20,4 +20,5 @@ if(HAVE_FREETYPE) target_interrogate(p3pnmtext ALL) install(TARGETS p3pnmtext DESTINATION lib) + install(FILES ${P3PNMTEXT_HEADERS} DESTINATION include/panda3d) endif() diff --git a/panda/src/pstatclient/CMakeLists.txt b/panda/src/pstatclient/CMakeLists.txt index d534c32f60..701913c88a 100644 --- a/panda/src/pstatclient/CMakeLists.txt +++ b/panda/src/pstatclient/CMakeLists.txt @@ -26,3 +26,4 @@ target_link_libraries(p3pstatclient p3net p3putil p3express) target_interrogate(p3pstatclient ALL) install(TARGETS p3pstatclient DESTINATION lib) +install(FILES ${P3PSTATCLIENT_HEADERS} DESTINATION include/panda3d) diff --git a/panda/src/putil/CMakeLists.txt b/panda/src/putil/CMakeLists.txt index c0a213add5..ea32bcd1c7 100644 --- a/panda/src/putil/CMakeLists.txt +++ b/panda/src/putil/CMakeLists.txt @@ -127,6 +127,7 @@ target_link_libraries(p3putil p3linmath p3pipeline) target_interrogate(p3putil ALL EXTENSIONS ${P3PUTIL_IGATEEXT}) install(TARGETS p3putil DESTINATION lib) +install(FILES ${P3PUTIL_HEADERS} DESTINATION include/panda3d) #begin test_bin_target #define TARGET test_bamRead diff --git a/panda/src/recorder/CMakeLists.txt b/panda/src/recorder/CMakeLists.txt index b7b982136b..e5258ba0ee 100644 --- a/panda/src/recorder/CMakeLists.txt +++ b/panda/src/recorder/CMakeLists.txt @@ -22,3 +22,4 @@ target_link_libraries(p3recorder p3dgraph p3downloader) target_interrogate(p3recorder ALL) install(TARGETS p3recorder DESTINATION lib) +install(FILES ${P3RECORDER_HEADERS} DESTINATION include/panda3d) diff --git a/panda/src/text/CMakeLists.txt b/panda/src/text/CMakeLists.txt index 4feb48af74..2c8e1f6b35 100644 --- a/panda/src/text/CMakeLists.txt +++ b/panda/src/text/CMakeLists.txt @@ -41,3 +41,4 @@ endif() target_interrogate(p3text ALL) install(TARGETS p3text DESTINATION lib) +install(FILES ${P3TEXT_HEADERS} DESTINATION include/panda3d) diff --git a/panda/src/tform/CMakeLists.txt b/panda/src/tform/CMakeLists.txt index bc83ac1088..d45f162f0e 100644 --- a/panda/src/tform/CMakeLists.txt +++ b/panda/src/tform/CMakeLists.txt @@ -32,3 +32,4 @@ target_link_libraries(p3tform p3device p3grutil) target_interrogate(p3tform ALL) install(TARGETS p3tform DESTINATION lib) +install(FILES ${P3TFORM_HEADERS} DESTINATION include/panda3d)