rdb
2540648ac9
nativenet: Change deprecated sprintf to snprintf
2025-10-10 14:13:17 +02:00
rdb
dfc5b47ec9
CMake: Improve reporting of enabled-but-not-found packages
...
Fixes #1072 (together with 3786dc2aea )
2020-12-20 18:36:41 +01:00
rdb
3786dc2aea
CMake: Fix detection and use of SSE2 compiler flag on MSVC
...
This is one half of the fix for #1072
2020-12-20 18:35:17 +01:00
rdb
aa0a0d6ab4
CMake: better handling of per-config options, esp. in single-config
2020-05-01 19:53:50 +02:00
Sam Edwards
8429f50d3a
CMake: Use -fno-rtti on most build configurations
2019-09-19 04:44:46 -06:00
Sam Edwards
5fa4af9189
CMake: Rely on GNUInstallDirs to specify install paths
...
This makes multiarch OSes happy as they can dictate that
64-bit libraries go into 'lib64'
2019-08-31 00:48:42 -06:00
Sam Edwards
cde25670d6
CMake: Remove some uses of CFG_INTDIR
...
It's not install() friendly, so we use $<CONFIG> instead in
some cases. Unfortunately, $<CONFIG> isn't friendly with
add_custom_command's OUTPUT options while CMAKE_CFG_INTDIR
explicitly is, so we use a hybrid approach until CMake gets
its act together.
2019-08-28 17:12:01 -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
89bc83c48f
CMake: Suppress $(EFFECTIVE_PLATFORM_NAME).
2019-06-27 17:38:18 -06:00
Donny Lawrence
20db4115b8
CMake: Add temporary solution for generating dtool_config.h
...
Eventually, we'll want to customize dtool_config.h based on the
configuration being used, but this should be good enough for now.
2019-06-27 17:38:18 -06:00
Sam Edwards
059c78bade
CMake: Restructure multi-configuration binary directory layout
...
This changes the structure to use paths like `build/Release/lib`
instead of `build/lib/Release`, so that the `build/Release` directory
more closely mimics the structure of `build` when in single-configuration
mode.
2019-05-01 23:44:47 -06:00
Sam Edwards
6097d34ead
CMake: Neatly format everything for readability and consistency
2019-04-14 22:37:18 -06:00
Sam Edwards
bddd7c1b4b
CMake: Generate/install exported target sets
2018-12-27 17:39:22 -07:00
Sam Edwards
99fee1a64d
CMake: Assign COMPONENT and EXPORT to all targets
2018-12-06 17:48:44 -07:00
Sam Edwards
1a80b69fb1
CMake: Clean out a few old TODOs and comments
2018-11-09 01:57:40 -07:00
Sam Edwards
9222bc6d31
CMake: Detect OpenCV/ARToolKit, build p3vision
...
For now, p3vision is only built if either OpenCV or
ARToolKit is available. It does contain some generic
webcam access code, so it might be worth building it
when that's available.
2018-11-03 22:51:14 -06:00
Sam Edwards
5b973ed837
CMake: Add DirectX 9 support
2018-11-01 22:33:01 -06: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
cfb32fad84
CMake: Detect OpenGL (and SpeedTree) the proper way
2018-09-22 15:55:03 -06:00
Sam Edwards
9c3841177b
CMake: Move dtool_config.h to a configuration-specific dir
2018-08-19 15:39:42 -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
4ea42666d6
CMake: Don't test for minmax.h
...
This is no longer used by the source
2018-06-10 02:29:45 -06:00
Sam Edwards
ce0d79d186
CMake: Remove unused config macros and configure-time tests
2018-06-06 13:59:06 -06:00
Sam Edwards
827f322d0e
CMake: Update for upstream change
2018-05-27 14:07:26 -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
8e230495a1
CMake: Consolidate "module or static" library logic
2018-05-14 19:07:27 -06:00
Sam Edwards
9e841800ee
CMake: Migrate detection for the physics packages
2018-02-21 02:38:54 -07:00
Sam Edwards
17d56279f5
CMake: Migrate FreeType package detection
2018-02-20 19:28:32 -07:00
Sam Edwards
2717c24ffc
CMake: Migrate detection of the audio libraries
2018-02-20 18:19:45 -07:00
Sam Edwards
769fd30119
CMake: Remove more HAVE_MESA references
2018-02-20 17:52:33 -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
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
283db1fb7a
CMake: Implement detection for FFTW3
2018-02-17 23:35:43 -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
Sam Edwards
0b940b0588
CMake: Take care of some of the TODO tests in LocalSetup
2018-02-10 12:34:28 -07:00
Sam Edwards
b68b6caeb0
CMake: Support targeting Python 3
2018-02-09 22:06:14 -07:00
Sam Edwards
b326c6e12d
CMake: Implement test for HAVE_IOS_BINARY.
2016-12-15 04:13:24 -08:00
Sam Edwards
cdf3e21025
CMake: Test that the compiler has SSE2 support.
2015-11-11 14:35:24 -08:00
Sam Edwards
edd2a45d38
CMake: Don't test host system's /proc paths for availability on target. This allows better cross-compilation.
2014-10-18 20:19:16 -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
82854ac1e8
Under CMake, generate dtool_config.h into build/include/ instead of build/ and use build/include/ as the global include directory.
2014-01-29 10:41:01 -07:00
rdb
5fdf4828be
package macros, add stuff to Config.cmake
2013-12-22 00:18:57 +01:00