Commit Graph

19902 Commits

Author SHA1 Message Date
Sam Edwards 87cae490cd CMake: Only build 'direct' if BUILD_DIRECT is on. 2014-02-08 17:51:05 -07:00
Sam Edwards 94264a0b8d Merge branch 'cmake' into cmake-cfs-direct
Conflicts:
	panda/CMakeLists.txt
2014-02-06 12:37:41 -07:00
Sam Edwards b64feda729 CMake: Add Windows platform libraries when building on Win32. 2014-02-05 23:29:49 -07:00
Sam Edwards 74bc124867 CMake: Add support for building WGL display output. 2014-02-05 23:28:57 -07:00
Sam Edwards 1ffd204b00 CMake: Rearrange panda/CMakeLists.txt for dependency order; older CMakes insist on it. 2014-02-05 22:27:54 -07:00
Sam Edwards e940c43b3e CMake: Remove PYTHON_LIBRARIES link from interrogatedb; it's unused there. 2014-02-05 18:10:16 -07:00
Sam Edwards 1a2be0dbee CMake: Only attempt to build pnmtext if HAVE_FREETYPE. 2014-02-05 17:09:26 -07:00
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 ff62637101 CMake: Build+Interrogate p3showbase. 2014-02-04 19:09:33 -07:00
Sam Edwards 9da0bb6912 CMake: Add audio/movies components. 2014-02-04 18:23:45 -07:00
Sam Edwards 2898f4da33 CMake: Get direct's 'interval' component library to build+Interrogate. 2014-02-04 16:42:43 -07:00
Sam Edwards 8a31b4b6a1 CMake: Update autorestart's CMakeLists to match the COMPILE_DEFINITIONS (rather than add_definitions) of the other components' CMakeLists files. 2014-02-04 14:59:32 -07:00
Sam Edwards 89797d78d6 CMake: Work on direct; get dcparse, dcparser, deadrec, directbase, distributed to build+Interrogate. 2014-02-04 14:58:52 -07:00
Sam Edwards 470611a473 CMake: Interrogate/build nativenet, net. 2014-02-04 14:57:03 -07:00
Sam Edwards 95e25af828 CMake: Update Interrogate.cmake macro's use of COMPILE_DEFINITIONS:
- Slightly older versions of CMake default this to NOTFOUND, so test before iterating.
- Add to local definitions for building the _igate sources.
2014-02-04 14:56:04 -07:00
Sam Edwards 918e2eed66 CMake: Begin work on direct, get autorestart to compile. 2014-02-04 11:28:42 -07:00
Sam Edwards 2a85cd7a5b CMake: dtoolbase/dtoolutil may need to link against Python. 2014-02-04 11:28:06 -07: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