Sam Edwards
10b5c9f3e6
CMake: Use CMake 3.12 FindPython, where available
2018-10-07 00:51:26 -06:00
Sam Edwards
0997c6b19c
CMake: Don't depend on Python interpreter
...
This allows building against the Python libraries even when the
Python interpreter/executable is missing. The correct extensions
for the binary modules will be guessed, the tests will fail,
and the bytecode for any pure-Python modules will not be
precompiled.
2018-10-07 00:51:26 -06:00
Sam Edwards
645fe32ca3
CMake: Fix capitalization of OpenSSL components
2018-09-24 14:06:26 -06:00
Sam Edwards
cfb32fad84
CMake: Detect OpenGL (and SpeedTree) the proper way
2018-09-22 15:55:03 -06:00
Sam Edwards
bd187643f3
CMake: Look for packages by CONFIG first
...
This requires a macro to override find_package,
as the default behavior in CMake is to fall back
from MODULE onto CONFIG.
Note that Bullet is given a specific override
not to look for a CONFIG, since Bullet tends to
use weird paths in its CONFIG script.
2018-09-21 19:22:59 -06:00
Sam Edwards
968ca123d4
CMake: Use packages by imported target where available
...
This is preferable because imported targets generally include
all of the relevant information specific to the particular
installation of each package, and without needing to hunt down
a bunch of variables to do it.
To do this, package_option() (which is starting to grow in scope
a little beyond just providing the package option, come to think
of it) is given a new IMPORTED_AS option, which tells the package
configuration system to look for one or more imported targets and
link against them instead.
2018-09-21 16:24:48 -06:00
Sam Edwards
23f46d8a84
CMake: Build p3bullet
2018-09-02 16:14:01 -06:00
Sam Edwards
76378c8990
CMake: Ask Python for preferred binary extension suffix
2018-08-19 23:10:20 -06:00
Sam Edwards
d6d6df83ef
CMake: Move Python detection to Package.cmake
2018-06-13 21:07:56 -06:00
Sam Edwards
2d5d1400be
CMake: Remove references to WxWidgets/FLTK
...
The plugin once used these; it's since been deprecated,
so we don't be needing GUI toolkits anymore.
2018-05-24 18:33:15 -06:00
Sam Edwards
9e841800ee
CMake: Migrate detection for the physics packages
2018-02-21 02:38:54 -07:00
Sam Edwards
196d780820
CMake: Remove commented-out TODOs regarding unsupported rendering backends
2018-02-20 23:38:39 -07:00
Sam Edwards
17d56279f5
CMake: Migrate FreeType package detection
2018-02-20 19:28:32 -07:00
Sam Edwards
590523ac8c
CMake: Rename FindSquish to FindLibSquish
...
CMake already has a "FindSquish" for finding the GUI testing product.
This minimizes the chances of the wrong module being run on accident.
2018-02-20 18:58:52 -07:00
Sam Edwards
2717c24ffc
CMake: Migrate detection of the audio libraries
2018-02-20 18:19:45 -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
75366484b0
CMake: Migrate over Nvidia Cg package detection
2018-02-19 00:05:49 -07:00
Sam Edwards
a9717cf3ab
CMake: Migrate detection of libsquish
2018-02-18 21:41:33 -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
68cb953479
CMake: Migrate JPEG/PNG/TIFF discovery to Package.cmake
2018-02-14 17:27:50 -07:00
Sam Edwards
0b68316b3f
CMake: Migrate OpenSSL detection to Package.cmake
2018-02-14 16:46:23 -07:00
Sam Edwards
021728f4b3
CMake: Start the process of organizing packages into Package.cmake
2018-02-14 16:46:20 -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
kestred
d1c5c20983
Continue Config.pp port and cleanup build-type conditional defaults.
2014-01-26 22:21:19 -07:00
kestred
4a2ee83df9
Rearrange Config.cmake and cotninue porting Config.pp
2014-01-26 21:33:49 -07:00
kestred
25771c6629
Cleanup some dtool/package.cmake find variables.
2014-01-22 00:53:32 -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
87dba6f064
cmake: packages: Add SDL find and config, general bugfixing and cleanup
2013-12-21 14:58:38 -07:00
kestred
89e0cd9d96
cmake: packages: Add OpenGL find and config.
2013-12-21 14:39:49 -07:00
kestred
9c42b3602f
cmake: packages: Add FLTK find and config.
2013-12-21 14:36:22 -07:00
kestred
26b3d826b9
cmake: packages: add support for wxwidgets
2013-12-21 14:31:17 -07:00
kestred
1fc064104f
cmake: Rename dtool/Packages.cmake to dtool/Package.cmake to keep consistency with ppremake.
2013-12-21 13:46:28 -07:00
Sam Edwards
ea140ed5cc
Rename most *.cmake files to CMakeLists.txt [1/2]
2013-11-28 19:01:16 -07:00
Sam Edwards
e7655ced72
Get p3dtool building under CMake.
2013-11-28 01:41:32 -07:00
Sam Edwards
3f4f03229f
Get dtoolutil to build under CMake.
2013-11-28 01:27:12 -07:00
kestred
b73d724fed
CMake: Start basic cmake files; working on dtool first as example.
2013-11-25 01:44:51 -07:00