rdb
f5433fa5d7
CMake/makewheel: properly determine and pass platform tag
...
One part of #1663
2024-11-07 12:49:11 +01:00
rdb
a076dd4704
CMake: Fix issues locating Python in thirdparty on Windows
...
Fixes #1472
2024-11-06 15:48:45 +01:00
rdb
4da5158b05
CMake: change how thirdparty directory is detected
2024-11-06 12:57:51 +01:00
rdb
84ed141b2a
Squash merge webgl-port branch into master
...
Adds support for emscripten as a build target / platform, and adds a WebGL renderer back-end
2024-01-25 15:37:38 +01:00
rdb
39e4e4167c
CMake: Switch use of distutils.sysconfig to sysconfig in Python 3.12
...
Part of #1395
2023-10-15 11:43:42 +02:00
rdb
75abee73e2
CMake: Disable FMOD Ex on macOS
...
There's no version of FMOD Ex that isn't linked against libstdc++.6.dylib, which is no longer available in the SDKs
2023-05-08 19:59:50 +02:00
rdb
6ea1e8d65c
CMake: Update OpenEXR package handling to use new targets
2022-03-09 16:23:37 +01:00
rdb
264747d213
CMake: Drop support for CMake versions below 3.13
...
We are already using target_link_options, and while it's possible to keep supporting older versions, it doesn't sound worth it. I can revert this out if someone gives me a really good reason to.
2022-03-09 16:23:37 +01:00
rdb
e716dba8d4
CMake: Update FindLibSquish.cmake, support looking in thirdparty dir
2022-03-09 16:23:37 +01:00
rdb
59f422c056
CMake: Support thirdparty packages on systems other than Windows/macOS
2022-03-09 16:23:37 +01:00
rdb
87f5aea80e
gtk-stats: Update to GTK version 3, since version 2 is EOL
2022-02-01 17:17:56 +01:00
rdb
0d9cb5c392
CMake: force finding Assimp in MODULE mode
2020-06-14 13:09:36 +02:00
rdb
ae078046d6
CMake: Use MODULE mode in find_package() for OpenEXR
...
Otherwise a system OpenEXRConfig.cmake may end up getting picked up, which operates differently.
2020-05-05 11:09:00 +02:00
Sam Edwards
36e06236a9
CMake: Remove IS(_NOT)_DEBUG_BUILD
2020-01-21 17:42:17 -07:00
Sam Edwards
572019bd50
CMake: Remove reference to PhysX
2020-01-12 13:53:26 -07:00
Sam Edwards
151d51ef09
CMake: Autodetect THIRDPARTY_DIRECTORY when in source root
2020-01-12 12:02:22 -07:00
Sam Edwards
a1d43f7b88
CMake: Fix WANT_PYTHON_VERSION not always being respected
2020-01-08 21:03:52 -07:00
Sam Edwards
74e9c610d3
CMake: Don't assume <PackageName>_FOUND will always be caps
...
This is more consistent with the new find_package() behavior,
especially when CONFIG mode is involved.
2019-12-31 06:47:34 -07:00
Sam Edwards
10760d5f7a
CMake: Properly redetect Python if WANT_PYTHON_VERSION changes
2019-12-24 16:16:31 -07:00
Sam Edwards
cfedd71093
CMake: Disable searching macOS frameworks when using THIRDPARTY_DIRECTORY
2019-12-05 10:34:47 -07:00
Sam Edwards
f377bdfb29
CMake: Copy thirdparty/**/*.dll to bin/ directory
2019-11-13 15:30:23 -07:00
Sam Edwards
ae59bd031f
CMake: Fix typo
2019-11-11 20:16:00 -07:00
Sam Edwards
0b342d0f9f
CMake: Don't use PythonInterp/PythonLibs when FindPython available
2019-11-11 00:48:14 -07:00
Sam Edwards
1c866dff78
CMake: Don't override Python_ROOT
2019-11-11 00:48:11 -07:00
Sam Edwards
9512b2274b
CMake: Remove libtar, unneeded downloadertools progs
2019-09-06 04:07:42 -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
855d217f35
CMake: Update for upstream changes
...
- Miles is gone; remove all references
- pystub is gone; remove all references
- dcparser uses Interrogate extensions properly; don't depend on Python
- stringStream* moved to express from downloader
2019-08-24 18:07:22 -06:00
Sam Edwards
60c1570db8
CMake: Add support for makepanda-style thirdparty directories
2019-08-23 16:09:13 -06:00
Sam Edwards
d008037244
CMake: Use Python::Module, not Python::Python, for extension linkage
...
CMake 3.15+ provides the former, which extension modules should link
against in order to ensure the ABI-appropriate linkage for the
platform.
For older versions of CMake, try to hack up the correct linkage for
the platform. If the platform isn't recognized, tell the user to
upgrade CMake.
This also tweaks p3pystub just a bit, since now it's actually relied
upon to resolve runtime link issues when p3dcparse pulls in direct,
as p3dcparse doesn't link against Python at all.
2019-08-15 16:47:53 -06:00
Donny Lawrence
7a3ea071a4
CMake: Don't use X11 on Apple.
2019-06-27 17:38:18 -06:00
Sam Edwards
6097d34ead
CMake: Neatly format everything for readability and consistency
2019-04-14 22:37:18 -06:00
Sam Edwards
5e82d8e43e
CMake: Don't find GLES on macOS; headers known broken
2019-04-14 19:06:33 -06:00
Sam Edwards
b4a532f1d0
CMake: Add support for building against FCollada
2019-03-18 01:56:38 -06:00
Sam Edwards
6eb112a13a
CMake: Discover FFTW3 by MODULE only, never CONFIG
...
This stops a CMake crash on some folks' systems.
2019-03-18 01:54:34 -06:00
Sam Edwards
0ff6787c1c
CMake: Fix compatibility with CMake 3.0
...
`x GREATER_EQUAL y` wasn't added until 3.7, so
instead this uses `NOT x LESS y`
2019-01-13 13:00:56 -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
654abdc5eb
CMake: Detect when to set OPENCV_VER_23/OPENCV_VER_3
2019-01-06 15:37:14 -07:00
Sam Edwards
1ae736f881
CMake: Detect and build support for Assimp
2018-11-12 15:49:08 -07:00
Sam Edwards
c3f9fdf778
CMake: Organize Package.cmake a bit better
2018-11-09 17:46:03 -07:00
Sam Edwards
1a80b69fb1
CMake: Clean out a few old TODOs and comments
2018-11-09 01:57:40 -07:00
Sam Edwards
2b1554a44c
CMake: Rename "config_package" function to "package_status"
...
The latter name is more consistent with what it does:
indicates the status/purpose/options of the package to
the user.
2018-11-08 21:15:00 -07:00
Sam Edwards
d43767c617
CMake: Find OpenEXR, support it in pnmimagetypes
2018-11-07 19:56:01 -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
15a78c55bc
CMake: Detect and use HarfBuzz when available
2018-11-02 23:37:26 -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
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
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
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