rdb
f26f7d2226
CMake: Fix CMAKE_CONFIGURATION_TYPES not being set properly in the cache
2020-12-21 23:31:20 +01:00
rdb
aa0a0d6ab4
CMake: better handling of per-config options, esp. in single-config
2020-05-01 19:53:50 +02:00
rdb
f56f06b65c
CMake: fix missing Coverage config in multi-config generators
2020-04-25 10:34:12 +02:00
rdb
565f97b3b9
CMake: properly default build type to Standard
...
This wasn't being set properly because it needs to be set before the project() call
2020-04-13 15:10:20 +02:00
rdb
ffed048c3e
CMake: NOTIFY_DEBUG should be turned on in Standard build
2020-04-13 13:17:51 +02:00
Sam Edwards
d0b6e2275d
CMake: Remove IS(_NOT)_MINSIZE_BUILD
2020-01-21 18:15:28 -07:00
Sam Edwards
36e06236a9
CMake: Remove IS(_NOT)_DEBUG_BUILD
2020-01-21 17:42:17 -07:00
Sam Edwards
68f1083dbf
CMake: Make HAVE_VIDEO4LINUX dependent on Linux
2020-01-21 17:07:04 -07:00
Sam Edwards
ce6caa8d3e
CMake: `/etc/*.prc` -> `/etc/panda3d/*.prc`
2020-01-07 17:04:30 -07:00
Sam Edwards
0aa599feeb
CMake: Take away the HAVE_TINYDISPLAY option
...
This is at least until we can support building it, so that
other components in Panda don't assume TINYDISPLAY is present.
2020-01-07 13:16:51 -07:00
Sam Edwards
e474350a48
CMake: Add a "Coverage" configuration, when using GCC/Clang
2019-12-05 10:35:25 -07:00
Sam Edwards
aadcb179d6
CMake: Change default build type to Standard
2019-09-21 02:45:46 -06:00
Sam Edwards
bd1605907e
CMake: Rename 'Distribution' config to 'Standard'
...
This is the configuration shipped to Python developers
in the form of the public SDK.
2019-09-19 22:18:28 -06:00
Sam Edwards
5654e64645
CMake: First batch of improvements per review
...
Addressing feedback per @rdb in GitHub #717
2019-09-06 01:11:50 -06:00
Sam Edwards
c62d5fbe35
CMake: Fix incorrect comment
2019-08-22 14:58:43 -06:00
Donny Lawrence
603e240788
CMake: Allow for config-specific dtool-config vars
...
This makes it so some options can be toggled on a per-configuration
basis (for multi-config generators), as long as they don't affect what
targets are actually being generated.
2019-06-27 17:38:18 -06:00
Donny Lawrence
27fd87983a
CMake: Only use a default CMAKE_BUILD_TYPE if using a single-config generator.
...
Create a variable that can be used to tell if a generator is multiconfig or not. Since this variable is only available on CMake 3.9 or higher, we'll try to make an educated guess on a lower CMake version.
2019-06-27 17:38:18 -06:00
Sam Edwards
865d824313
CMake: Remove some unused #cmakedefine directives
2019-04-15 22:15:27 -06:00
Sam Edwards
12036c7ed0
CMake: Remove remaining references to HAVE_CARBON
2019-04-14 22:38:25 -06:00
rdb
d44b090ecd
CMake: update for latest Android NDK; fix missing Android sources
2019-03-17 21:16:08 +01:00
Sam Edwards
ad6cc0f21f
CMake: Remove ALTERNATIVE_MALLOC
...
This apparently no longer does anything.
2019-01-03 02:30:38 -07:00
Sam Edwards
1a80b69fb1
CMake: Clean out a few old TODOs and comments
2018-11-09 01:57:40 -07:00
Sam Edwards
11a75eab99
CMake: Build OpenGL ES (1&2) display modules
...
Also reorganizes Package.cmake a little, getting more of the
package discovery logic under the PackageConfig.cmake system.
2018-10-22 01:58:24 -06:00
Sam Edwards
a585dcf9ad
CMake: Streamline THREADS configuration
...
In particular this uses Threads::Threads (when available)
to let CMake figure out how to link against pthread/etc.
2018-10-19 17:39:36 -06:00
Sam Edwards
c6dee72b06
CMake: Make sure Xkb+Xutil are available for X11
...
This fixes a compile error on some macOS systems.
2018-10-15 16:18:26 -06:00
Sam Edwards
629ada63db
CMake: Turn OFF HAVE_CARBON by default
2018-10-14 17:30:40 -06:00
Sam Edwards
b3f1b7d40b
Merge branch 'cmake' of https://github.com/treamology/panda3d into cmake
...
# Conflicts:
# .travis.yml
# direct/src/showbase/CMakeLists.txt
# dtool/dtool_config.h.in
# dtool/src/prc/CMakeLists.txt
# panda/src/cocoadisplay/CMakeLists.txt
# panda/src/express/CMakeLists.txt
# panda/src/osxdisplay/CMakeLists.txt
2018-10-14 02:26:56 -06:00
Sam Edwards
cfb32fad84
CMake: Detect OpenGL (and SpeedTree) the proper way
2018-09-22 15:55:03 -06:00
Sam Edwards
29bc62bf9b
CMake: Alias Interrogate
...
This allows us to have a different name for Interrogate
on the host vs. Interrogate on the target platform, which
facilitates cross-compiling.
2018-06-13 21:07:56 -06:00
Sam Edwards
21a30a8429
CMake: Make INTERROGATE_PYTHON_INTERFACE option dependent
...
This also makes it sufficient for turning on Interrogate.
2018-06-13 21:07:56 -06:00
Sam Edwards
d6d6df83ef
CMake: Move Python detection to Package.cmake
2018-06-13 21:07:56 -06:00
Sam Edwards
ce0d79d186
CMake: Remove unused config macros and configure-time tests
2018-06-06 13:59:06 -06:00
Donny Lawrence
a8954d7f67
Don't build GLX support if on macOS
2018-05-29 21:49:00 -05:00
Sam Edwards
c62f3d0d23
CMake: Don't set a default Python version.
...
A blank string to FindPythonInterp finds the version
of Python that the system "python" interpreter invokes,
so this means the default is now the system default.
2018-05-16 18:14:07 -06:00
Sam Edwards
4cec331722
CMake: Add support for building metalibs as metalibs
2018-04-18 14:42:56 -06:00
Sam Edwards
655e661035
CMake: Minor typo fix
2018-04-18 14:38:59 -06:00
Sam Edwards
9e841800ee
CMake: Migrate detection for the physics packages
2018-02-21 02:38:54 -07:00
Sam Edwards
3210302caf
CMake: Migrate FFmpeg package detection
2018-02-20 17:52:33 -07:00
Sam Edwards
72d668e05a
CMake: Migrate zlib package detection
2018-02-20 17:19:21 -07:00
Sam Edwards
0ed64c72ce
CMake: Migrate over VRPN detection
2018-02-20 17:02:17 -07:00
Sam Edwards
e882088421
CMake: Remove INSTALL_PYTHON_SOURCE option
...
It's unused and easy to run "make" in between changes anyway
2018-02-20 13:55:28 -07:00
Sam Edwards
75366484b0
CMake: Migrate over Nvidia Cg package detection
2018-02-19 00:05:49 -07:00
Sam Edwards
ecfd924f0d
CMake: Remove references to unsupported versions of DirectX.
2018-02-18 23:34:02 -07:00
Sam Edwards
a9717cf3ab
CMake: Migrate detection of libsquish
2018-02-18 21:41:33 -07:00
Sam Edwards
71836f09e3
CMake: Remove references to genPyCode
2018-02-18 20:42:59 -07:00
Sam Edwards
283db1fb7a
CMake: Implement detection for FFTW3
2018-02-17 23:35:43 -07:00
Sam Edwards
5c4ef25bb7
CMake: Use proper target_use_packages definitions for Eigen
2018-02-17 16:56:35 -07:00
Sam Edwards
5c1ff5fdbc
CMake: Migrate detection of libtar
2018-02-14 17:38:25 -07:00
Sam Edwards
f2e9e25230
CMake: Remove lingering references to Helix
2018-02-14 17:29:04 -07:00
Sam Edwards
68cb953479
CMake: Migrate JPEG/PNG/TIFF discovery to Package.cmake
2018-02-14 17:27:50 -07:00