Commit Graph

19886 Commits

Author SHA1 Message Date
Sam Edwards dc898f4d78 CMake: Add audio/movies components. 2014-02-05 17:08:05 -07:00
rdb 872ffb12c1 Merge pull request #4 from kestred/cmake-cfs-igate2
Update Interrogate.cmake; generate panda3d.core and panda3d.egg modules.
2014-02-05 20:34:19 +01:00
Sam Edwards de9ea2a750 CMake: For Interrogate 64/32-bit detection, check sizeof(long) rather than sizeof(void*). 2014-02-03 21:57:27 -07:00
Sam Edwards eced41b7c3 CMake: Move Interrogate.cmake's _LP64 detection to the top of the script, where it gets added to IGATE_FLAGS. 2014-02-03 21:47:27 -07:00
Sam Edwards 3dc38e0f61 CMake: Move ${INTERROGATE_*_OPTIONS} expansion to the add_custom_command proper; other CMake files may wish to set this after Interrogate.cmake is loaded. 2014-02-03 21:39:06 -07:00
Sam Edwards c4ade7f8b9 Move OpenSSL parser-inc files to openssl/ subdirectory. 2014-02-03 12:09:20 -07:00
Sam Edwards 8cd41a48af CMake: Detect 64-bit vs. 32-bit when running Interrogate. 2014-02-03 11:54:51 -07:00
Sam Edwards 2872c14c8f CMake: Get egg to interrogate. 2014-02-02 14:55:43 -07:00
Sam Edwards df69bba34a CMake: Fix typos in Interrogate. 2014-02-02 14:55:17 -07:00
Sam Edwards fd9aec6ee7 CMake: Fix Interrogate's dependency on the *_composite#.cxx files by creating an explicit target that can be used to do composite generation. 2014-02-02 12:24:18 -07:00
rdb 710568fb28 HAVE_GTK -> HAVE_GTK2 2014-02-02 12:31:06 +01:00
rdb 6e86570b9a ppremake-style output report 2014-02-02 10:12:18 +01:00
Sam Edwards e150492355 CMake: Use LINK_LIBRARIES instead of INTERFACE_LINK_LIBRARIES in Interrogate macro, for compatibility with CMake < 2.8.12. 2014-02-01 14:24:22 -07:00
Sam Edwards e3cee4f5cd CMake: Add .N files to deps for Interrogate command. 2014-01-31 13:41:01 -07:00
Sam Edwards 57944c58d1 CMake: Invoke Interrogate with the same compiler definitions as the source itself. 2014-01-31 13:30:47 -07:00
Sam Edwards 75c1b937f8 CMake: Use "NOT varname" instead of testing for equality to -NOTFOUND. 2014-01-31 12:36:52 -07:00
Sam Edwards 20daa755f0 CMake: Update Interrogate macro to make paths relative to CMake source directory. 2014-01-31 09:10:23 -07:00
Sam Edwards ba4f2ac3e8 CMake: Add the 'core' Python module for all of the currently-built component libraries. 2014-01-30 18:58:21 -07:00
Sam Edwards 3f045f85f5 CMake: Hack up the Interrogate macro to work when the codebase depends on the Dtool_* stubs. 2014-01-30 18:55:40 -07:00
Sam Edwards 5fd958a9be CMake: Completely re-do the Interrogate macro. 2014-01-30 18:55:14 -07:00
Sam Edwards 82a74dc281 Revert "Revert "Revise AutoInclude.cmake: My version of CMake, despite being >=2.8.11, doesn't actually support CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE.""
This reverts commit a40bfdb9061ceb06925d2756166640b368896946.
2014-01-30 16:47:00 -07:00
Sam Edwards f9d4a3ccef CMake: Revert back to rdb's Interrogate. This can be done cleaner. 2014-01-30 15:47:00 -07:00
Sam Edwards cebdcd1d43 Revert "Revise AutoInclude.cmake: My version of CMake, despite being >=2.8.11, doesn't actually support CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE."
This reverts commit 6a38e3c95df00da728cbd253c0bf80c22d0c419b.
2014-01-30 13:47:44 -07:00
Sam Edwards 33142e0b59 CMake: Build interrogate_module. 2014-01-30 13:18:11 -07:00
Sam Edwards 3960f330ab CMake: Link pgraph against all libraries that it needs. 2014-01-30 13:17:34 -07:00
Sam Edwards 7fa2279eeb CMake: Add forgotten multitexReducer.cxx to grutil. 2014-01-30 13:17:34 -07:00
Sam Edwards 4a9c9bf67c Under CMake: Don't interrogate component libs that shouldn't be interrogated! 2014-01-30 13:17:34 -07:00
Sam Edwards c9a4228811 When interrogating under CMake, record INTERROGATE_DATABASE as a target property. 2014-01-30 13:16:18 -07:00
kestred a8207d109a Add missing optional Cg library link target to gobj. 2014-01-30 10:32:52 -07:00
kestred f5fbe25724 Build shared libs by default in cmake builds. 2014-01-30 10:32:25 -07:00
kestred f8b901f60a Fix incorrect licensing and add missing parens after else. 2014-01-30 09:39:29 -07:00
kestred bb19d8cb23 Enable package filtering by license in Distribution builds, and disable most packages by default in MinSizeRel builds. 2014-01-30 09:33:20 -07:00
kestred b2f928ade5 Add "Distribution" build type, and improve doc/organization for basic CMake stuff. 2014-01-30 08:55:19 -07:00
kestred f0a7a4d12b Removed outmoded DO_DEBUG for IS_DEBUG_BUILD 2014-01-30 07:00:01 -07:00
kestred 146c532f47 Remove debugging Message from panda/express/CmakeLists.txt 2014-01-30 06:48:42 -07:00
kestred b04ebdda98 Have package_option automatically generate option library targets instead of checking in every instance they're used. 2014-01-30 06:47:09 -07:00
kestred 995688760b In panda config, unset libraries we're not using so that they're not used as link targets. 2014-01-30 06:21:50 -07:00
kestred 8d3e7541ef Update documentation for CMake build system. 2014-01-30 05:06:11 -07:00
kestred dd817b70b8 Merge pull request #2 from kestred/config.cmake
Config.cmake
2014-01-30 03:54:45 -08:00
kestred a6332e3cae In CMake builds, link panda/express with Tar (when enabled). 2014-01-30 04:47:08 -07:00
kestred 7c8062a88a In CMake builds, link gobj with Squish (when enabled). 2014-01-30 04:44:23 -07:00
kestred 80b1a7e306 Add header to CMake panda/metalibs/pandagl that causes an error when it is being built without proper support. 2014-01-30 04:39:10 -07:00
kestred c75b104ce7 In CMake builds, link glgsg with CG_LIBRARIES. 2014-01-30 04:38:14 -07:00
kestred c20f38c383 Add additional output, CG_LIBRARIES, to FindCg.cmake. 2014-01-30 04:37:48 -07:00
kestred 9a9f06c984 Config.cmake: Add X11 location and option. 2014-01-30 04:16:26 -07:00
kestred 99b4760991 dtool/Config.cmake: Add missing empty option to BUILD_IPHONE. 2014-01-30 04:01:57 -07:00
Sam Edwards 2f89129ffd Add *_ext.cxx and *_ext.h to p3express's CMakeLists. 2014-01-29 14:40:06 -07:00
Sam Edwards 72c180a82c Massively update CMake's Interrogate macro. This gets several modules to build... 2014-01-29 14:39:38 -07:00
Sam Edwards 4fa6584fdf Revise AutoInclude.cmake: My version of CMake, despite being >=2.8.11, doesn't actually support CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE. 2014-01-29 14:39:15 -07:00
Sam Edwards 82854ac1e8 Under CMake, generate dtool_config.h into build/include/ instead of build/ and use build/include/ as the global include directory. 2014-01-29 10:41:01 -07:00