Commit Graph

19870 Commits

Author SHA1 Message Date
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
Sam Edwards a842133002 Build egg's lexer case-insensitve under CMake. Fixes parse errors. 2014-01-29 05:46:59 -07:00
Sam Edwards 163fd7ded6 Egg parser doesn't have/need lexer.h, don't build it under CMake. 2014-01-27 22:43:41 -07:00
Sam Edwards d0844e0fb6 Fix typos in egg's CMakeLists file. 2014-01-27 22:30:57 -07:00
Sam Edwards d8bc6d0da8 Use "NOT BUILD_SHARED_LIBS" in CMake rather than "LINK_ALL_STATIC" 2014-01-27 12:29:02 -07:00
Sam Edwards ed08fd1902 Get pandaegg to build under CMake. 2014-01-27 10:11:33 -07:00
Sam Edwards 84aad872ec Define add_flex_target CMake macro. 2014-01-27 10:10:27 -07:00
Sam Edwards bdbd2d5b13 Fix ifdef/elif/elif chain to use if defined(...)/elif defined(...)/... 2014-01-27 10:10:19 -07:00
Sam Edwards 456967069e Fix syntax problems in Config.cmake. 2014-01-27 10:09:07 -07:00
kestred d1c5c20983 Continue Config.pp port and cleanup build-type conditional defaults. 2014-01-26 22:21:19 -07:00
Sam Edwards 826b98f727 Uncomment src/testbed in panda CMakeLists, to enable building pview. 2014-01-26 22:10:28 -07:00
Sam Edwards f1e218d267 Get p3pnmimagetypes to build (and link to p3framework) under CMake. 2014-01-26 22:10:28 -07:00
kestred 4a2ee83df9 Rearrange Config.cmake and cotninue porting Config.pp 2014-01-26 21:33:49 -07:00
Sam Edwards 5b791ca358 Get pandagl building under Linux on CMake. 2014-01-26 18:46:38 -07:00
Sam Edwards 0f89ef1e7b In CMake, link a few libraries against other libraries that they depend on. 2014-01-26 18:06:37 -07:00
Sam Edwards 0ceb237c9c Remove bin2c-converted files from CMake sources. These use static variables, and are only meant for include. 2014-01-26 14:38:44 -07:00
kestred 77060a4fb8 Add CMakeLists for panda/metakubs/pandagl. Not yet built. 2014-01-26 12:52:37 -07:00