32 Commits

Author SHA1 Message Date
Sam Edwards
a26df45c38 cmake: Fix Interrogate installation so that runtime paths are properly removed. 2014-04-28 16:21:10 -06:00
Sam Edwards
c82c0df266 cmake: Fix Interrogate macro bug causing component sources to get scanned along with their composite counterparts. 2014-04-16 06:07:55 -06:00
Sam Edwards
c53a656b4b cmake: Fix typo in PackageConfig. 2014-04-11 03:37:46 -06:00
Sam Edwards
3969d0e1ac CMake: Link Interrogate bindings against metalibs. 2014-03-02 18:33:00 -07:00
Sam Edwards
9fc2e6829b CMake: Generate and install 'pandac' for backwards-compatibility. 2014-02-07 14:30:46 -07:00
Sam Edwards
e5a6259e46 CMake: Get Interrogated modules to install. 2014-02-06 16:33:34 -07: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
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
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
8cd41a48af CMake: Detect 64-bit vs. 32-bit when running Interrogate. 2014-02-03 11:54:51 -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
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
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
f9d4a3ccef CMake: Revert back to rdb's Interrogate. This can be done cleaner. 2014-01-30 15:47:00 -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
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
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
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
a842133002 Build egg's lexer case-insensitve under CMake. Fixes parse errors. 2014-01-29 05:46:59 -07:00
Sam Edwards
84aad872ec Define add_flex_target CMake macro. 2014-01-27 10:10:27 -07:00
kestred
8cdc819344 cmake: config: Move new package macros to cmake/macros, use new package macros in Package.cmake, begin removing redundant package/config options from Package.cmake (theses are being moved to Config.cmake). 2013-12-21 19:30:53 -07:00
kestred
c579f87007 cmake: Reorganize macros, and cleanup related files (add docs, etc) 2013-12-21 13:44:05 -07:00