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
Vladimír Vondruš
bfe6c6fbb6
package: updated FindCorrade.cmake from Corrade repository.
12 years ago
Vladimír Vondruš
1e6e4c3f73
Install and find debug libraries with "-d" suffix.
...
Makes it possible to have both debug and release libraries installed. If
both libraries are present when finding the package, proper version is
used based on what configuration is used in depending project.
12 years ago
Vladimír Vondruš
a08fa16d4e
modules: updated FindCorrade.cmake from Corrade repository.
12 years ago
Vladimír Vondruš
77e38fcce3
New ObjImporter plugin.
12 years ago
Vladimír Vondruš
cb8eecce51
Platform: initial version of AndroidApplication.
...
No input events yet.
12 years ago
Vladimír Vondruš
c2dc386dee
modules: populate ${MAGNUM_LIBRARIES} before they are used.
...
MAGNUM_LIBRARIES are used in all Application classes. I don't know when
this got broken, but now it is fixed again.
12 years ago
Vladimír Vondruš
e3013603f3
modules: updated FindCorrade.cmake from Corrade repository.
12 years ago
Vladimír Vondruš
5790b96e6d
modules: updated FindCorrade.cmake from Corrade repository.
12 years ago
Vladimír Vondruš
5a94a36570
modules: libGLESv3 actually really exists.
...
The world is actually sane.
12 years ago
Vladimír Vondruš
722c98d269
modules: different libraries for OpenGL ES 2.0/3.0 in FindMagnum.cmake.
...
Also apparently not tested at all.
12 years ago