Vladimír Vondruš
a3bf011548
modules: updated FindCorrade.cmake.
10 years ago
Vladimír Vondruš
ad27e192f4
modules: link also all required frameworks when finding SDL2 on iOS.
10 years ago
Vladimír Vondruš
3f4156a846
modules: update FindEGL.cmake to work on iOS.
...
It actually finds EAGL, which is slightly completely different from EGL
and I currently have no use for it.
10 years ago
Vladimír Vondruš
60fc994ab6
modules: updated FindOpenGLES[23].cmake to work on iOS.
10 years ago
Vladimír Vondruš
55a0a1397b
modules: updated FindCorrade.cmake.
10 years ago
Vladimír Vondruš
e102a776ad
modules: use HINTS instead of PATHS for find_path().
...
Because the value is not hardcoded but rather depending on previous
introspection and CMake documentation suggests using different keyword
for this.
11 years ago
Vladimír Vondruš
c8a9417e70
CMake subproject support, part 3: ability to override configure.h location.
...
Similarly as in Corrade, but this did not require any user-facing
changes.
11 years ago
Vladimír Vondruš
986099a5d3
CMake: use CORRADE_INCLUDE_DIRS instead of CORRADE_INCLUDE_DIR.
11 years ago
Vladimír Vondruš
cde7955046
modules: updated FindCorrade.cmake.
11 years ago
Vladimír Vondruš
e9c4fc3f0f
modules: updated FindCorrade.cmake from Corrade repository.
11 years ago
Vladimír Vondruš
500b18f657
Platform: added WindowlessWindowsEglApplication.
...
Windowless application on Windows, OpenGL ES and EGL. Works with ANGLE.
11 years ago
Vladimír Vondruš
177aa7b7d9
modules: support ANGLE in FindOpenGLES2/3 and FindEGL CMake modules.
...
It has lib prefix even on Windows, making it unfindable for CMake.
11 years ago
Vladimír Vondruš
285ee48807
modules: fix finding of SDL2 on OSX.
...
See the file comment for details.
11 years ago
Vladimír Vondruš
2521c3d5d7
modules: support Windows release package by default.
11 years ago
Vladimír Vondruš
326d1d6a98
modules: FindSDL2.cmake cleanup.
11 years ago
Vladimír Vondruš
a4b0000c39
modules: updated FindCorrade.cmake.
11 years ago
Vladimír Vondruš
13622cf7ae
modules: avoid repeating the same include dirs over and over.
...
Similarly to the _LIBRARIES above, just add stuff that is not already
there.
11 years ago
Vladimír Vondruš
c853f39f26
modules: this made no sense.
...
if(SOMETHING)
# ...
else()
# SOMETHING is not set, this statement does nothing
unset(SOMETING)
endif()
11 years ago
Vladimír Vondruš
94a59fc381
modules: append to list instead of replacing it.
11 years ago
Vladimír Vondruš
bd107a2290
modules: EGL is not Sdl2Application dependency on WebGL.
11 years ago
Vladimír Vondruš
93147d896d
Initial support for WebGL 2.
...
The actual WebGL 2 distinction was done as a part of previous WebGL
cleanup. It compiles, but is completely broken, as Emscripten has some
missing bits to go through at least Context class creation.
11 years ago
Vladimír Vondruš
eebb5d4af5
modules: link EGL along with SDL if targetting non-desktop ES.
11 years ago
Vladimír Vondruš
f7c440d6b0
modules: proper linking order for Font plugins.
...
Fixes static build on NaCl.
11 years ago
Vladimír Vondruš
328462a312
modules: updated FindCorrade.cmake.
11 years ago
Vladimír Vondruš
fa86e1ae3d
modules: removed deprecated non-absolute include path.
11 years ago
Vladimír Vondruš
dba8a694aa
modules: new internal MAGNUM_DATA_INSTALL_DIR.
...
Will be used by examples etc. to install various auxiliary data.
11 years ago
Vladimír Vondruš
7398b6ef8c
modules: fixed Find*GL*.cmake, updated coding style.
...
It's meaningless to have *_INCLUDE_DIR point to the dir where
{egl.h,gl2.h,gl3.h} exists, because we're always including the files
using full path (e.g. <EGL/egl.h>). It then fails miserably at compile
time on platforms which don't have the parent directory in include path.
11 years ago
Vladimír Vondruš
457ee77e07
modules: updated FindCorrade.cmake.
11 years ago
Vladimír Vondruš
6488fe6e75
Oh, it's 2015 already.
11 years ago
Vladimír Vondruš
60f7ac555e
modules: properly handle inter-project dependencies in FindMagnum.cmake.
...
It's not needed to manually specify whole component dependency tree,
also each MAGNUM_*_LIBRARIES and MAGNUM_*_INCLUDE_DIRS variable now
lists all external and inter-project dependencies.
For example, if the user requires DebugTools component, it automatically
searches also for all the following components:
MeshTools
Primitives
SceneGraph
Shaders
Shapes
And MAGNUM_DEBUGTOOLS_LIBRARIES contains the following extensive list of
libraries:
MagnumDebugTools
MagnumMeshTools
MagnumPrimitives
MagnumSceneGraph
MagnumShaders
MagnumShapes
Magnum
CorradePluginManager
CorradeUtility
libGL
11 years ago
Vladimír Vondruš
9f18a4139a
modules: cleanup.
11 years ago
Vladimír Vondruš
4add9296a3
modules: simplified flag parsing in FindMagnum.cmake.
12 years ago
Vladimír Vondruš
f9cff5e52f
modules: get rid of WITH_FIND_MODULE.
...
CMake find modules are now *always* installed into
<prefix>/share/cmake/Magnum, without requirement for root privileges.
12 years ago
Vladimír Vondruš
2a24cc7511
modules: updated FindCorrade.cmake, adapted to Corrade changes.
12 years ago
Vladimír Vondruš
c09a929b0d
Extension loading for OpenGL ES.
...
Added EglContext, wired flextGLInit() to be called on all GLES platforms
except for Emscripten and NaCl.
12 years ago
Vladimír Vondruš
0908778eee
modules: fix dependency finding for GlxContext.
12 years ago
Vladimír Vondruš
c7e4f92f1c
Platform: added publicly usable *Context libraries.
...
They contain the same platform-specific stub as is used in *Application
libraries to load GL function pointers.
12 years ago
Vladimír Vondruš
3619541f9e
Minor cleanup.
12 years ago
Vladimír Vondruš
25bbc57d4c
modules: minor cleanup.
12 years ago
Vladimír Vondruš
a8817674ba
modules: no backticks in CMake documentation.
...
That is only for Doxygen. Also improved the wording a bit.
12 years ago
Vladimír Vondruš
f74e68ec4e
modules: bail out with proper message if Magnum is not found.
...
Currently it failed on "error when trying to open configure.h", which is
NOT a helpful message at all. Now we check for existence of the include
dir before trying to open the file, thus failing with proper "Could NOT
find Magnum" message.
12 years ago
Vladimír Vondruš
68016dbee3
Provide MAGNUM_TARGET_WEBGL also in CMake.
12 years ago
Vladimír Vondruš
c7b23a884f
Be consistent and use our own platform definitions.
12 years ago
Vladimír Vondruš
e41f4c4fb9
modules: expose separate plugin directories for debug and release builds.
12 years ago
Vladimír Vondruš
7e2cdf3136
modules: updated FindCorrade.cmake.
12 years ago
Vladimír Vondruš
181eefd8f8
Mention WindowlessCglApplication in FindMagnum.cmake.
12 years ago
Vladimír Vondruš
fcde0b67f7
modules: updated FindCorrade.cmake.
12 years ago
Vladimír Vondruš
89f4ab09ad
Platform: added WindowlessWglApplication.
12 years ago
Vladimír Vondruš
78cb3b8e4e
modules: added MAGNUM_BINARY_INSTALL_DIR variable to FindMagnum.cmake.
...
Will be used in depending projects for e.g. installing DLLs on Windows.
12 years ago
Vladimír Vondruš
5101e3a60c
Install also debug plugins to different location.
...
Following changes done in Corrade.
12 years ago