Sam Edwards
d3ef7bf12d
CMake: Avoid using continue()
...
This is, sadly, not added until CMake 3.4.
This commit avoids continue() by restructuring the loops so
that the conditions previously being used for continue() are
no longer needed. The alternative would've been to encase the
loop bodies massive ifs, but I find that to be a poor choice
for readability.
2019-06-25 03:34:51 -06:00
Sam Edwards
b4a532f1d0
CMake: Add support for building against FCollada
2019-03-18 01:56:38 -06:00
Sam Edwards
d961514892
CMake: Use string/list(APPEND foo ...) instead of set(foo ${foo} ...)
2019-01-19 17:01:36 -07:00
Sam Edwards
2298aba578
CMake: Correct order for {opus,vorbis}file libs
2019-01-13 14:24:35 -07:00
Sam Edwards
052004d06b
CMake: Detect Opus
2019-01-13 12:04:48 -07:00
Sam Edwards
8a2375a5f1
CMake: Detect Ogg+Vorbis
2019-01-13 11:58:09 -07:00
Sam Edwards
615a1d205d
CMake: Modify Find*.cmake to trust find_*()'s caching
2019-01-13 10:45:03 -07:00
Sam Edwards
654abdc5eb
CMake: Detect when to set OPENCV_VER_23/OPENCV_VER_3
2019-01-06 15:37:14 -07:00
Sam Edwards
f59c6bb2bf
CMake: Make FindODE link against libccd when present
...
This fixes building against the macOS/Homebrew version of ODE.
2018-11-15 02:24:28 -07:00
Sam Edwards
1ae736f881
CMake: Detect and build support for Assimp
2018-11-12 15:49:08 -07:00
Sam Edwards
d43767c617
CMake: Find OpenEXR, support it in pnmimagetypes
2018-11-07 19:56:01 -07:00
Sam Edwards
16be0770e7
CMake: Fix libCgGL linkage in FindCg.cmake
...
This involves both fixing the capitalization of "CgGL" and only adding
libraries to CG_LIBRARIES when they're found.
2018-11-06 02:07:08 -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
3a5c158b5a
CMake: Fix FindVRPN so it also finds VRPN's quat library
2018-11-03 22:51:12 -06:00
Sam Edwards
15a78c55bc
CMake: Detect and use HarfBuzz when available
2018-11-02 23:37:26 -06:00
Sam Edwards
f701e36aa5
CMake: Detect VRPN and build support for it when present
...
I inadvertently rewrote FindVRPN.cmake doing this - I didn't
think to check if it already existed before overwriting.
Oh well, the new version is a bit simpler.
2018-11-02 21:08:00 -06:00
Sam Edwards
5b973ed837
CMake: Add DirectX 9 support
2018-11-01 22:33:01 -06:00
Sam Edwards
7c42b75ac8
CMake: Update FindCg to discover cgD3D9
...
This also means renaming "CGDX9" to "CGD3D9" for consistency
with what Nvidia calls it.
2018-11-01 16:31:57 -06:00
Sam Edwards
f07b713e8d
CMake: Change FindOpenGLES* modules so they don't even try on Apple
2018-10-27 21:11:14 -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
56b211f902
CMake: Fix FindODE's include path finding
...
It needs to look for the path containing the "ode" directory,
not the "ode" directory itself.
2018-10-19 12:56:11 -06:00
Sam Edwards
cefc000235
CMake: Remove PATHS from FindEigen3
...
Why do we need these? CMake checks the "obvious" paths for us.
2018-10-18 19:27:47 -06:00
Sam Edwards
8dd46eb736
CMake: Redo ODE find module
...
This defines an ODE::ODE target; it also automatically selects
the correct `dIDESINGLE`/`dIDEDOUBLE` compile-time definition.
2018-10-18 19:27:47 -06: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
8b9d2c0f33
CMake: Delete FindEigen2, we rely on Eigen3+
2018-02-20 18:19:56 -07:00
Sam Edwards
283db1fb7a
CMake: Implement detection for FFTW3
2018-02-17 23:35:43 -07:00
Sam Edwards
d66f5fa8e2
CMake: Kill support for <2.8.12
...
The rationale for this is in a comment at the top of the main
CMakeLists.txt file. It was getting harder to maintain support for a
version this old, and pretty much no current system has CMake <3.
Good riddance.
2018-02-06 14:47:12 -07:00
Sam Edwards
e58697bee4
cmake: Fix AutoInclude workaround always being used irrespective of version.
...
Also fixes Interrogate's reliance on the INTERFACE_INCLUDE_DIRECTORIES target
property before generation time by using a generator expression to determine
Interrogate's include flags.
2016-12-01 02:36:40 -08:00
Sam Edwards
9d1254d440
cmake: Fix Eigen3 detection and support.
2014-04-17 02:56:56 -06:00
Sam Edwards
127dfe7c4d
cmake: Add FFMPEG compilation support.
2014-04-11 03:38:08 -06:00
Sam Edwards
161beda242
CMake: Add missing quotes in FindCg module.
2014-03-02 21:53:15 -07:00
Sam Edwards
f972221357
CMake: Detect ODE.
2014-02-08 16:20:57 -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
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
kestred
c20f38c383
Add additional output, CG_LIBRARIES, to FindCg.cmake.
2014-01-30 04:37:48 -07:00
Sam Edwards
4fa6584fdf
Revise AutoInclude.cmake: My version of CMake, despite being >=2.8.11, doesn't actually support CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE.
2014-01-29 14:39:15 -07:00
kestred
53ae0fb95b
Fix FindCG to output variables in a general and expected format.
2014-01-19 14:04:18 -07:00
kestred
dd495b5573
Rename FindFFTW to FindFFTW3 and comment out configuration for it. FindFFTW3 was implemented, but Panda expects FFTW2.
2014-01-19 12:07:20 -07:00
kestred
c579f87007
cmake: Reorganize macros, and cleanup related files (add docs, etc)
2013-12-21 13:44:05 -07:00
kestred
826979c099
CMake: Configure: Finish cleaning up finding packages.
2013-12-13 13:32:04 -07:00
kestred
c7b514bc75
CMake: Configure: Begin conversion to standard CMake find package syntax.
2013-12-13 03:27:52 -07:00
kestred
d1572173d3
CMake: Configure: Add XYZZY_LIBRARY(IES) variable declarations for Find packages. Other cleanup and reorginizaion.
2013-12-12 12:30:42 -07:00
kestred
4fa31ee4d6
CMake: Use option() instead of set(CACHE)
2013-12-12 10:24:39 -07:00
kestred
ee06025d43
CMake: Configure: Add Freetype support.
2013-12-11 11:00:43 -07:00
kestred
150624b27d
Add GTK2 support.
2013-12-11 10:53:39 -07:00
kestred
a6162615d7
CMake: Configure: Add forgotten Mangle module.
2013-12-09 22:25:30 -07:00
kestred
4ac2363673
CMake: Configure: Add a "DISCOVERED" option to configure.
2013-12-09 11:40:25 -07:00
kestred
204d88f1e1
CMake: Configure: Improve Miles Sound System detection.
2013-12-09 09:46:46 -07:00
kestred
55089fda95
CMake: Configure: Add FMOD Ex support.
2013-12-09 03:30:49 -07:00
kestred
9790c6f504
CMake: Configure: Nominally support Miles Sound System. Can't actually test it, because I don't own it.
2013-12-09 02:23:44 -07:00