Commit Graph

19910 Commits

Author SHA1 Message Date
Sam Edwards b5d9b8658d CMake: Panda3D physics and particlesystem. 2014-02-07 18:19:05 -07:00
Sam Edwards 211f4cb498 direct: Kind of hacky, but make 'pandac' install the extensions. 2014-02-07 15:54:39 -07:00
Sam Edwards b7ddeacc8b direct: libpandaexpress -> panda3d.core 2014-02-07 14:36:48 -07:00
Sam Edwards 9fc2e6829b CMake: Generate and install 'pandac' for backwards-compatibility. 2014-02-07 14:30:46 -07:00
Sam Edwards 6c5dcb0a75 CMake: Install 'direct'. 2014-02-07 13:36:03 -07:00
Sam Edwards e5a6259e46 CMake: Get Interrogated modules to install. 2014-02-06 16:33:34 -07:00
Sam Edwards 5e78a80acc CMake: When HAVE_PYTHON, detect the Python install directories. Also, only include Python directories if HAVE_PYTHON. 2014-02-06 16:33:27 -07:00
Sam Edwards 6e0dc789b6 CMake: Rearrange root CMakeLists; some includes may depend on dtool config. 2014-02-06 16:32:37 -07:00
Sam Edwards cc7e03f5eb CMake: Fix typo. 2014-02-06 13:37:46 -07:00
Sam Edwards 50a6ab2a4d CMake: Rearrange panda/CMakeLists.txt for dependency order; older CMakes insist on it. 2014-02-05 22:27:46 -07:00
Sam Edwards f5f2f39a30 CMake: Remove PYTHON_LIBRARIES link from interrogatedb; it's unused there. 2014-02-05 18:09:18 -07:00
Sam Edwards ad7f590ca3 Merge branch 'cmake' into cmake-cfs-install
Conflicts:
	panda/CMakeLists.txt
	panda/src/audio/CMakeLists.txt
	panda/src/movies/CMakeLists.txt
	panda/src/pnmtext/CMakeLists.txt
2014-02-05 17:38:03 -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 1d2561b012 CMake: Install the Interrogated _igate libraries. (Temporary; part of the dependency hack.) 2014-02-04 23:10:56 -07:00
Sam Edwards 5e77793b0f CMake: Add some install(...) directives. 2014-02-04 22:43:23 -07: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