Vladimír Vondruš
c3b4dc2a4f
CMake: expose WITH_GLFWAPPLICATION only on desktop.
...
It's not ported to any mobile or web platform right now.
6 years ago
Vladimír Vondruš
2e1aa284eb
CMake: don't expose WITH_VK or TARGET_VK on Emscripten.
...
No such thing there.
6 years ago
Vladimír Vondruš
dcbd860f9b
shaderconverter: new tool.
6 years ago
Vladimír Vondruš
f1ba6c692b
AnyShaderConverter: new plugin.
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š
52b7d89c69
Update project version.
6 years ago
Vladimír Vondruš
293f092f14
Add a version.h header with full Git version information.
6 years ago
Vladimír Vondruš
19e0e96d74
Updated copyright year.
6 years ago
Vladimír Vondruš
0fd11e1e5b
CMake: don't declare the WITH_AL_INFO option twice.
...
Like with WITH_GL_INFO, it should be a top-level option and WITH_AUDIO
should depend on it, not the other way around. So removing the second
occurence, which is a cmake_dependent_option().
6 years ago
Vladimír Vondruš
6ad8f26c20
CMake: build MeshTools if sceneconverter is enabled.
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š
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š
a180be551b
CMake: UseAndroid can be included as an oneliner.
7 years ago
Vladimír Vondruš
ac71d99f57
Bumped soversion for 2019.10.
7 years ago
Vladimír Vondruš
d3cd7f514f
CMake: don't override output location if any of these is set.
...
Otherwise it breaks projects that set only one.
7 years ago
Vladimír Vondruš
3a243a04b2
CMake: put all binaries into a dedicated location in the build dir.
...
This makes it possible to:
- finally use Magnum as a CMake subproject on Windows and have your
executables not fail to run with a "DLL missing" error (and the
setting is put to cache so superprojects just implicitly make use of
that)
- run tests on Windows without having to install first
- use dynamic plugins from a CMake subproject on any platform without
having to install first or load them by filename --- and the plugin
directory is now easily discovered as relative to
libraryLocation() of the library implementing given plugin interface
7 years ago
Vladimír Vondruš
7f4da303cb
Require at least CMake 3.4.
7 years ago
Vladimír Vondruš
057475fb8a
CMake: don't enable -fPIC by default on Emscripten.
...
Causes weird errors on latest version.
7 years ago
Vladimír Vondruš
a3c7968e64
Adapt to BUILD_MULTITHREADED being part of Corrade now.
...
If building with deprecated features enabled, the buildsystem checks if
the option is still set and is inconsistent with what Corrade reports
and reports a deprecation warning. For backwards compatibility the
MAGNUM_BUILD_MULTITHREADED CMake variable and preprocessor macro are
still provided as well.
7 years ago
Squareys
b970b4d247
Platform: Add initial EmscriptenApplication
...
Signed-off-by: Squareys <squareys@googlemail.com>
7 years ago
Vladimír Vondruš
1f305e7cbe
CMake: give priority to our own module path.
7 years ago
Vladimír Vondruš
687496fccb
CMake: make OpenGL_GL_PREFERENCE settable from outside.
7 years ago
Daniel
035f644769
Platform: removed GlutApplication.
7 years ago
Vladimír Vondruš
aca02f52f5
Shapes: this library is no more either.
7 years ago
Vladimír Vondruš
4b29f64b5a
CMake: last piece missing for CMake subproject support in Emscripten.
7 years ago
Vladimír Vondruš
f4a5fe8c06
CMake: don't expose TARGET_*GLES* when WITH_GL is OFF.
...
Also add a heads-up warning to FindMagnum.cmake about this.
7 years ago
Vladimír Vondruš
bfe9943011
CMake: BUILD_GL_TESTS needs TARGET_GL.
7 years ago
Vladimír Vondruš
8cac681e31
CMake: not all of those things depend on GL anymore.
7 years ago
Vladimír Vondruš
834c5fe40d
Text: API-independent base for glyph caches.
...
Allows the Font and FontConverter plugins be built without TARGET_GL
enabled. That was the last piece missing for making the magnum-plugins
repo completely GL-free.
7 years ago
Vladimír Vondruš
4e6c0fb846
CMake: bump library version for 2019.01.
7 years ago
Vladimír Vondruš
d8624b5a42
CMake: enable WindowlessEglApplication for headless builds.
...
Otherwise the build of magnum-gl-info fails with a linker error.
7 years ago
Vladimír Vondruš
e7bce11192
CMake: put a dependent option *after* its dependencies.
...
Also remove a duplicated option. Ugh this is a mess.
7 years ago
Vladimír Vondruš
e6b7aa12fa
Updated copyright year.
7 years ago
Vladimír Vondruš
b31eea37e4
Drop CMake 2.8.12 support.
7 years ago
Pascal Thomet
91b41a7297
Initial scaffolding for Hunter package support.
8 years ago
Vladimír Vondruš
8e0004afea
Include UseAndroid only for tests.
...
Because we need it only for tests.
8 years ago
Vladimír Vondruš
eed4747f78
Platform: (attempt to) build AndroidApplication test using CMake.
...
Currently fails at runtime because I forgot to link stuff.
8 years ago
Vladimír Vondruš
3e7fdf46ee
Bump the soversion for 2018.10.
...
Unlike in 2018.04 there were no extremely breaking changes, so not
bumping the major version.
8 years ago
Vladimír Vondruš
89d988383a
Don't use GL-specific stuff on targets without GL enabled.
8 years ago
Vladimír Vondruš
8efc6b39e9
Deprecate the Shapes library and everything that depends on it.
...
Scheduled for removal in ~6 months if all goes well.
8 years ago
Vladimír Vondruš
f922f1e740
CMake: prefer GLVND if on CMake 3.11.
...
This *did not* make things simpler. At all. Ugh. Can I follow
Apple and deprecate GL too?
8 years ago
Vladimír Vondruš
fec1a07b9b
Bootstrap Vulkan support.
8 years ago
Vladimír Vondruš
9457cfc376
Bump VERSION/SOVERSION for the next release.
8 years ago
Vladimír Vondruš
d5a0516f8a
Split the OpenGL layer out, pt 29: SDL2 and GLFW apps w/o GL.
8 years ago
Vladimír Vondruš
4e757a3f64
Split the OpenGL layer out, pt 26: remove dependencies on the GL lib.
...
Primitives, MeshTools, Trade and TextureTools are not depending on the
GL library anymore.
8 years ago
Vladimír Vondruš
82fce786d8
Split the OpenGL layer out, pt 7: renamed magnum-info to magnum-gl-info.
...
The WITH_MAGNUMINFO CMake option is now WITH_GL_INFO. No backwards
compatibility is provided, sorry.
8 years ago
Vladimír Vondruš
d863fbee30
Split the OpenGL layer out, pt 3: new MAGNUM_TARGET_GL variable.
...
This will later enable conditional compilation of APIs that depend on
the GL library (for example the Text library directly producing compiled
meshes instead of just plain vertex data).
8 years ago