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
Vladimír Vondruš
519f9f7c32
Use glLoadGen instead of GLEW.
...
Removed all known GLEW workarounds, added one small workaround for
missing ARB_texture_compression_bptc. I didn't want to patch glLoadGen
for just four enum values, this way it's possible to use stock one
without any patching (except for missing OpenGL 2.1 support, as stated
in external/OpenGL/GL/README.md).
As one file now replaces both `glew.h` and `glcorearb.h` and it has the
same size as `glcorearb.h` alone , it saves approximately 18k LOC,
resulting in 15 second shorter compilation time (5:03 before, 4:48 now).
Not bad.
13 years ago
Vladimír Vondruš
95e1ae2efc
Audio: added AbstractImporter plugin interface.
13 years ago
Vladimír Vondruš
2b32625921
Bootstrap Audio library.
...
Will require OpenAL for now, although I don't like the state in which AL
currently is. At all. Other alternatives (later) might be FMOD or Miles.
13 years ago
Vladimír Vondruš
50942b0348
FindMagnum.cmake: allow user to override plugin directories.
...
Useful when deploying on Windows.
13 years ago
Vladimír Vondruš
d820293ab6
FindMagnum.cmake: use ${LIB_SUFFIX} properly.
...
CorradeLibSuffix.cmake wasn't included at all, thus no convenient
autodetection was done.
13 years ago
Vladimír Vondruš
d6a64cca2a
Text: interface for font converters.
...
Provides a way to convert font into different format (either with or
without contents of associated glyph cache) or import/export glyph cache
(i.e. to avoid recreating it from scratch every time).
13 years ago
Vladimír Vondruš
47bbc403ae
FindMagnum.cmake: removed duplicate code.
13 years ago
Vladimír Vondruš
7b68dc2e0a
Platform: added WindowlessNaClApplication.
...
Stripped-down version of NaClApplication with unusable default
framebuffer and no event handling, primarily for various testing usage.
13 years ago
Vladimír Vondruš
6d8639cc76
Physics shape rework #7 : renamed Physics namespace to Shapes.
13 years ago
Vladimír Vondruš
53f26fdde0
modules: find outdated header names.
...
Changed most of them to names which shouldn't change in the future.
13 years ago
Vladimír Vondruš
6b753cfcb4
FindMagnum.cmake: NaCl application has also dependencies.
...
Although these are needed only with static build.
13 years ago
Vladimír Vondruš
0f27576855
FindMagnum.cmake: append MAGNUM_LIBRARIES also for static build.
13 years ago
Vladimír Vondruš
8c75f6e8c2
Expose MAGNUM_BUILD_STATIC in magnumConfigure.h.
13 years ago
Vladimír Vondruš
36bedb3f5a
NaCl target system is now handled with CORRADE_TARGET_NACL.
13 years ago
Vladimír Vondruš
d66858074b
FindMagnum.cmake: use CORRADE_*_LIBRARIES, not *_LIBRARY.
13 years ago
Vladimír Vondruš
bbb764eff5
Base for image converter plugins.
13 years ago
Vladimír Vondruš
92c4a5a2ed
Text: turned AbstractFont into plugin interface.
13 years ago
Vladimír Vondruš
c0b8e65d75
FindMagnum.cmake: fixed finding of Text library.
13 years ago
Vladimír Vondruš
cda51f3dd5
Text: moved FreeType and HarfBuzz fonts into plugins.
...
In next few commits AbstractFont will become plugin interface. Font
implementations are now in magnum-plugins repository. Removed all traces
of FreeType and HarfBuzz dependencies.
13 years ago