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
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š
7fa39a5b3f
modules: once more.
12 years ago
Vladimír Vondruš
7ec314dbb5
modules: updated FindCorrade.cmake from Corrade repository.
12 years ago
Vladimír Vondruš
11c84563f8
modules: updated FindCorrade.cmake from Corrade repository.
12 years ago
Vladimír Vondruš
6f0ba96cb6
Happy new year too.
12 years ago
Vladimír Vondruš
7e1c93121c
modules: updated FindCorrade.cmake from Corrade repository.
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š
be3f3664fe
modules: updated FindCorrade.cmake.
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š
adfe95fb9f
modules: updated FindCorrade.cmake.
12 years ago
Vladimír Vondruš
e7d7cc1f98
modules: added comment explaining include path issues with SDL1/OSX.
13 years ago
michael chung
7476b78c64
1.Build problems on Mac OS X (10.9)
...
Recommended fix:
https://github.com/mosra/magnum/blob/master/modules/FindSDL2.cmake#L46 to list only SDL_scancode.h (i.e. remove SDL.h)
Test:
Add SDL2 Lib to the /Libraries/Frameworks/
Builds file.
Add SDL2 Lib and SDL1 to the /Libraries/Frameworks/
Build fails.
Remove SDL.h from at line 46.
Builds fine.
Remove SDL 1 from the /Libraries/Frameworks/
Builds fine.
13 years ago
Vladimír Vondruš
c4a28965cb
modules: updated FindCorrade.cmake from Corrade repository.
13 years ago
Vladimír Vondruš
dbafac0ba3
Updated FindCorrade.cmake from Corrade repository.
13 years ago
Vladimír Vondruš
2fa0e0a555
modules: updated FindCorrade.cmake from Corrade repository.
13 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