Vladimír Vondruš
ad27e192f4
modules: link also all required frameworks when finding SDL2 on iOS.
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š
500b18f657
Platform: added WindowlessWindowsEglApplication.
...
Windowless application on Windows, OpenGL ES and EGL. Works with ANGLE.
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š
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š
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š
181eefd8f8
Mention WindowlessCglApplication in FindMagnum.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š
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š
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š
722c98d269
modules: different libraries for OpenGL ES 2.0/3.0 in FindMagnum.cmake.
...
Also apparently not tested at all.
12 years ago
Vladimír Vondruš
6fb04dcdfe
modules: work around GLUT_Xi_LIBRARY-related CMake errors on Ubuntu.
...
These libraries are not needed for GlutApplication, thus we link only to
GLUT_glut_LIBRARY now. Hopefully this won't break linking somewhere
else.
12 years ago
Vladimír Vondruš
30aae1bd48
modules: actually detect the MAGNUM_PLUGINS_DIR.
...
It now defaults to magnum/ subdirectory of dir where main Magnum library
was found. It was *annoying* to change /usr/local/lib/magnum to
/usr/lib/magnum _every time_.
12 years ago
Vladimír Vondruš
6f0ba96cb6
Happy new year too.
12 years ago
Vladimír Vondruš
7a68362170
Making includes absolute, part 6: better filenames for internal files.
...
As we are now using absolute includes, there is no need to prefix
everything with "magnum<Namespace>" etc. All generated configuration
files are renamed to configure.h and their path is included _before_
everything else to avoid accidental collisions.
12 years ago
Vladimír Vondruš
2b2ad57280
Making includes absolute, part 3: updated FindMagnum.cmake.
...
If MAGNUM_BUILD_DEPRECATED is defined, it behaves the same as
previously, although you may need to recreate your build dir.
12 years ago
Vladimír Vondruš
3fb969d397
Integrated plugins into build system and updated the documentation.
13 years ago
Vladimír Vondruš
b9ca288b69
doc: minor formatting changes.
13 years ago
Vladimír Vondruš
46ce7b0347
Thoroughly documented also building and CMake usage of all other libs.
13 years ago
Vladimír Vondruš
a6831da902
Initial support for ability to disable building of deprecated APIs.
...
CMake option `BUILD_DEPRECATED`, enabled by default, exposed as
`MAGNUM_BUILD_DEPRECATED` to users both in CMake and C++ code.
13 years ago
Vladimír Vondruš
e2b36225a1
FindMagnum.cmake: minor typographic fixes.
13 years ago
Vladimír Vondruš
a3fc38344c
More flexible ability to install CMake modules.
...
FindMagnum.cmake is not installed by default to avoid the need for root
privileges when installing, enable it with WITH_FIND_MODULE CMake flag.
13 years ago