Vladimír Vondruš
585b4b7cf7
CMake: fix version deprecation warning on CMake 3.31.
1 year ago
Vladimír Vondruš
8ebe5e074f
CMake: set policies before the project() call.
...
It's done like this in all other repos, so here it not being done is
probably an error.
1 year ago
Vladimír Vondruš
9b683b1441
CMake: mark variables that shouldn't need to be toggled as advanced.
2 years ago
Vladimír Vondruš
b0d714344a
It's October already?!
2 years ago
Vladimír Vondruš
b4d437bb3f
python: introduce MAGNUM_BUILD_PYTHON_BINDINGS_RTLD_GLOBAL.
...
If enabled, this causes sys.setdlopenflags() being called with
RTLD_GLOBAL before the native Corrade module is loaded, in a hope to
resolve recurring nightmares with static Corrade and Magnum libraries
being linked into multiple dynamic modules.
2 years ago
Vladimír Vondruš
a81071eae4
CMake: allow both <PackageName>_ROOT and <PACKAGENAME>_ROOT variables.
3 years ago
Vladimír Vondruš
74767f4db4
Bump minimal CMake version to 3.5 to silence a CMake 3.27 warning.
3 years ago
Vladimír Vondruš
305fdf81ee
It's 2023 already!
3 years ago
Vladimír Vondruš
c83c1fcc4f
CMake: make it possible to use <PackageName>_ROOT to locate dependencies.
3 years ago
Vladimír Vondruš
2e2cea6a68
CMake: exclude test dirs from ALL with CORRADE_TESTSUITE_TEST_TARGET.
4 years ago
Vladimír Vondruš
1d662bcd48
CMake: add a MAGNUM_PYTHON_BINDINGS_STATIC_PLUGINS CMake option.
...
Similar to the new options for Magnum command-line utilities.
4 years ago
Vladimír Vondruš
737ec6c415
Prefix all CMake options with MAGNUM_*.
4 years ago
Vladimír Vondruš
5ea50ee86e
CMake: drop last remaining mention of Utility::Directory.
4 years ago
Vladimír Vondruš
2295f43873
Updated copyright year.
4 years ago
Vladimír Vondruš
2fec9c1e5e
Enable a bunch of useful CMake policies.
5 years ago
Vladimír Vondruš
84f9bb2a9d
Updated copyright year.
5 years ago
Vladimír Vondruš
24b18aff93
Update project version.
6 years ago
Vladimír Vondruš
3d519d6c19
Add a version header containing full Git version information.
6 years ago
Vladimír Vondruš
fe7e6eb545
Bootstrap for C++-side unit tests.
...
So far all tests were done only in Python, but now we'll need them in
CMake / CTest also.
6 years ago
Vladimír Vondruš
b1d45fc85a
Updated copyright year.
6 years ago
Vladimír Vondruš
7f6a1f1529
CMake: override binary output location only if none of these is set.
7 years ago
Vladimír Vondruš
65d8e47cbe
CMake: put all binaries into a single location.
...
Shouldn't really make any difference, since pybind redirects all
libraries anyway. But since other projects set this globally, we need to
ensure this won't break anything.
7 years ago
Vladimír Vondruš
8700217943
Require CMake 3.4 at least.
7 years ago
Vladimír Vondruš
e9b5fb0019
modules: added FindMagnumBindings.cmake for finding the helper headers.
7 years ago
Vladimír Vondruš
2922f28267
Initial code for the Python bindings, adding math angle types.
...
Only the double ones, exposed as floats, because the extra ALU required
by doubles is negligible to function call overhead. It'll be different
for non-scalar types, but here I use this.
7 years ago