Vladimír Vondruš
bc0bb075ab
Update Android installation layout to better comply with NDK r19+.
...
And take CMake 3.20 into account.
5 years ago
Vladimír Vondruš
62628beac9
modules: make it possible to use SDL2 as a CMake subproject.
5 years ago
Vladimír Vondruš
3d136503d8
Updated copyright year.
5 years ago
Vladimír Vondruš
d1ce3b2a23
modules: updated FindCorrade and FindNodeJs from corrade repository.
5 years ago
Vladimír Vondruš
bdf455eccf
modules: minor.
5 years ago
abgita
f9b07ac290
Typo: simultaenous -> simultaneous.
5 years ago
Vladimír Vondruš
3b9acd27fb
Vk: base class for Vulkan tests.
...
Not much there yet, but this alone removes the congitive overhead when
testing Vulkan functionality on (some, whatever) device.
6 years ago
Vladimír Vondruš
b91e137058
Vk: initial seed for the magnum-vk-info utility.
6 years ago
Vladimír Vondruš
b14d90aac9
modules: provide additional info for not found components.
...
Such as telling people Sdl2Application is not available on Android, or
that EmscriptenApplication needs WITH_EMSCRIPTENAPPLICATION enabled in
order to be built and installed.
6 years ago
Vladimír Vondruš
e6f52edad0
modules: port FindMagnum to use if(IN_LIST) for component matching.
6 years ago
Vladimír Vondruš
b5b2a8eec8
modules: update FindCorrade.cmake.
6 years ago
Vladimír Vondruš
91b8bb7504
modules: remove obsolete backwards-compat include dir.
...
No longer needed after all the "GL APIs in root namespace" compatibility
got removed.
6 years ago
Vladimír Vondruš
81a339a79e
modules: use standard CMake APIs for detecting static libs.
6 years ago
Vladimír Vondruš
dcbd860f9b
shaderconverter: new tool.
6 years ago
Vladimír Vondruš
13dfb6472f
ShaderTools: bootstrap new library.
...
Currently there's just a plugin interface for shader converters. More
stuff (probably something like SPIR-V reflection) will come later.
6 years ago
Vladimír Vondruš
87381d1744
modules: make our own FindVulkan.cmake.
...
With blackjack and actually working properly on all platforms.
Seriously, did nobody ever try to use the vanilla version on Mac or MSYS
since it was added several years ago in CMake 3.7?
6 years ago
Vladimír Vondruš
28c2dbf167
modules: don't look for OpenAL config on Emscripten.
...
It causes OpenAL from /usr to be picked up, which then causes
/usr/include to be on the include path, which then causes MY BLOOD TO
BOIL.
6 years ago
Vladimír Vondruš
1b1347f571
modules: find the OpenAL DLL also with the imported target.
...
And update the DLL copying to handle Debug as well.
6 years ago
Vladimír Vondruš
01b666da2a
modules: find GLFW via config only if the target doesn't already exist.
6 years ago
Vladimír Vondruš
25f7d79a96
modules: rewrite FindOpenAL to support static and subproject AL Soft.
...
Strange build breakages, I'm ready for you now!
6 years ago
Vladimír Vondruš
19e0e96d74
Updated copyright year.
6 years ago
Vladimír Vondruš
e4e5795669
modules: properly list the transitive dependency of Primitives on GL.
6 years ago
Vladimír Vondruš
d846944b7a
MeshTools: de-template removeDuplicatesFuzzy().
...
Basically using the same idea as with the discrete version -- having the
second dimension dynamic, together with restricting the implementation to
just Float and Double.
According to the SubdivideRemoveDuplicatesBenchmark, this makes the
implementation slightly slower. I presume this is due to how minmax and
offsets are calculated which is quite cache-inefficient as it goes over
the same memory block multiple times. Added a TODO for later.
6 years ago
Vladimír Vondruš
1fe1dcd76d
modules: updated FindCorrade.cmake and FindNodeJs.cmake.
6 years ago
Vladimír Vondruš
0ad5a8968f
AnySceneConverter: new plugin.
6 years ago
Vladimír Vondruš
2dc47839ef
Trade: bootstrap scene converter plugins.
6 years ago
Vladimír Vondruš
9c14d8e354
Introduce a BUILD_STATIC_UNIQUE_GLOBALS option.
...
Same as in Corrade. Because BUILD_STATIC is independent between Corrade
and Magnum this option is also independent -- the corner cases and bad
interactions would be otherwise too complex to handle (e.g., in case of
a dynamic Corrade and static Magnum it would be impossible to enable
this option for Magnum etc etc).
6 years ago
Vladimír Vondruš
bc35478907
modules: updated FindCorrade.cmake.
6 years ago
Vladimír Vondruš
4090a88c97
Rework plugin search paths using new Corrade APIs.
6 years ago
Vladimír Vondruš
1c51b98d76
Trade: new magnum-sceneconverter tool.
...
Currently provides just the --info option similarly to
magnum-imageconverter, nothing else.
6 years ago
Vladimír Vondruš
b9e7d20c4e
modules: expand the list of static SDL2 dependencies for macOS as well.
6 years ago
Vladimír Vondruš
236954ad16
CMake: MeshTools now depends on Trade unconditionally.
...
Isn't it great when I discover this five minutes before merging to
master?
6 years ago
Vladimír Vondruš
6be7ebd54f
modules: I am stupid.
...
Apparently I didn't test 9636423cb2 . At
all.
6 years ago
Vladimír Vondruš
34aec29fb0
modules: link SDL to Metal framework on iOS.
...
Also do it only when SDL is static -- dynamic builds don't need any of
that.
6 years ago
Vladimír Vondruš
9636423cb2
modules: be less stupid when parsing Magnum/configure.h.
6 years ago
Vladimír Vondruš
b3db2bb7ec
modules: updated FindCorrade.cmake.
6 years ago
Vladimír Vondruš
a12d673d82
modules: fix dependency between DebugTools and Trade on GL-less builds.
6 years ago
Vladimír Vondruš
c999645182
modules: actually properly link to static Windows SDL dependencies.
...
I messed up in 86a9f01dab . Blind coding
FTW, eh.
7 years ago
Vladimír Vondruš
86a9f01dab
modules: link to all dependencies of statically-built SDL on Windows.
7 years ago
Vladimír Vondruš
90007a6cb7
modules: clean up pthread linking in FindSDL2.cmake.
...
Should not have any functional change, however we can now use the
imported target (instead of a variable that can be empty if threads
are not found), using REQUIRED because otherwise it makes no sense, and
checking explicitly for both libraries instead of the merged variable
(because there it's only an accident it actually works).
7 years ago
Vladimír Vondruš
1d41b88053
modules: don't use obsolete CMake features.
7 years ago
Vladimír Vondruš
0369291ab4
modules: look for GLFW DLL on Windows.
7 years ago
Vladimír Vondruš
6c8c1798fb
modules: minor sanity "asserts" in FindSDL2.cmake.
7 years ago
Vladimír Vondruš
cc6e7573c9
modules: look for glfw3dll as well.
...
Upstreamed from a vcpkg patch.
7 years ago
Ivan Sanz Carasa
dc48491b40
modules: expose SDL2 DLL locations in FindSDL2.cmake.
7 years ago
Vladimír Vondruš
bc73348716
modules: updated FindCorrade.cmake.
7 years ago
Vladimír Vondruš
32ce1f1b43
external: include KHR/khrplatform.h absolutely.
...
Otherwise it requires custom buildsystem users to add
MagnumExternal/OpenGL to include paths, causes issues in Vcpkg and so
on.
7 years ago
Vladimír Vondruš
8da9ce829c
modules: propagate dependencies of aliases in FindMagnum.cmake better.
7 years ago
Vladimír Vondruš
e2610bff18
modules: updated FindCorrade.cmake.
7 years ago
Vladimír Vondruš
e1b246fc70
modules: mark EGL/GLES *_LIBRARY and *_INCLUDE_DIR vars as advanced.
...
Not sure why that wasn't done here. It only inflates the CMake option
list as 90% of the people don't need to touch these.
7 years ago