rdb
535105c373
build: Update to interrogate 0.6.0
...
Fixes #1743
2025-07-28 15:18:03 +02:00
rdb
79d6727077
Move MAIN_DIR initialization code from interrogate to panda3d
...
Using the new -init flag, see panda3d/interrogate#3
2025-02-02 20:11:32 +01:00
rdb
6d54aee0c7
Remove runtime dependency on interrogatedb
2024-10-30 17:46:26 +01:00
rdb
6885edc811
build: Update interrogate to 0.3.0 to support 3.13t build
2024-10-29 16:10:39 +01:00
rdb
beff684af3
Further thread safety changes for Python 3.13 free threading
...
See #1683
2024-09-19 20:43:06 +02:00
rdb
5106fc879f
Changes for compatibility with Python 3.13
...
Includes some preliminary work to make free-threading safe, see also #1683
2024-09-19 16:01:10 +02:00
rdb
c9cddb8d92
CMake: Stop building interrogate from tree
...
Instead, either build it externally (BUILD_INTERROGATE) or accept INTERROGATE_EXECUTABLE / INTERROGATE_MODULE_EXECUTABLE settings
2024-08-10 16:54:12 +02: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
c48fcba3d8
CMake: build tinydisplay using CMake
...
Based on work by @toadkarter (#1487 ) and @pmp-p (#1547 )
Fixes #1481
2023-10-15 11:34:47 +02:00
rdb
07545bc9e3
dtoolbase: Use mimalloc on Windows, disable USE_DELETED_CHAIN
...
Windows' malloc has awful performance. mimalloc is orders of magnitude faster, even faster than DeletedBufferChain. Therefore, only enable USE_DELETED_CHAIN on Windows when building without mimalloc.
On Linux, mimalloc doesn't appear to be measurably faster than glibc's own allocator. Both are marginally than DeletedBufferChain, though, and substantially faster in the multi-threaded case, so USE_DELETED_CHAIN is disabled there in all cases.
2022-02-04 23:50:57 +01:00
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