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
Vladimír Vondruš
6b8e28f045
Updated FindCorrade.cmake from Corrade repository.
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š
1cb049056c
Updated FindCorrade.cmake from Corrade repository.
13 years ago
Vladimír Vondruš
e2b36225a1
FindMagnum.cmake: minor typographic fixes.
13 years ago
Vladimír Vondruš
ea00057207
Updated FindCorrade.cmake from Corrade repository.
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š
86124ba9b3
Updated FindCorrade.cmake from Corrade repository.
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š
37621d7741
Updated FindCorrade.cmake from Corrade repository.
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š
c5c57e17da
Emscripten: ported FindOpenGLES2.cmake and FindSDL2.cmake.
...
SDL headers are now included relatively.
13 years ago
Vladimír Vondruš
69662e4923
Updated FindCorrade.cmake and FindNodeJs.cmake from Corrade repository.
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š
885a490cd2
Updated FindCorrade.cmake from Corrade repository.
13 years ago
Vladimír Vondruš
7a1f1bec92
Updated FindCorrade.cmake from Corrade repository.
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š
c07b0f0b4a
Updated FindCorrade.cmake from Corrade repository.
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
Vladimír Vondruš
76ac352924
Added FindOpenGLES3.cmake module.
...
Seems that Mesa has both ES2 and ES3 in the same libGLESv2.so. Weird.
13 years ago
Vladimír Vondruš
f18297ab2b
Define MAGNUM_TARGET_GLES3 if targetting ES and not ES2.
...
Makes it easier to disable parts of the code than with this. And this
would also not be future-proof:
defined(MAGNUM_TARGET_GLES) && !defined(MAGNUM_TARGET_GLES2)
13 years ago
Vladimír Vondruš
ecccbcc1bf
Documented CMake usage and preprocessor variables.
13 years ago
Vladimír Vondruš
3a8a95107f
Updated FindCorrade.cmake from Corrade repository.
13 years ago
Vladimír Vondruš
7e1037ceda
FindMagnum: added also MAGNUM_WINDOWLESSAPPLICATION_* aliases.
13 years ago
Vladimír Vondruš
0c612dee3d
FindMagnum: provide MAGNUM_APPLICATION_{LIBRARIES,INCLUDE_DIRS} aliases.
...
Convenience aliases to variables related to one particular *Application
component, defined if and only if exactly one *Application component is
requested and found. Meant to be used to simplify porting when each
platform uses different *Application library.
13 years ago
Vladimír Vondruš
8f37ebe9cf
Better usage of external OpenGL headers.
...
Moved them to `OpenGL/` subdirectory, allowing them to be included
explicitly with e.g. <OpenGL/GLES2/gl2ext.h> overriding the system
<GLES2/gl2ext.h> header. Our versions of the headers are thus now
explicitly included in `OpenGL.h`, but they can be also included using
no-prefix path if no system version is available. It might break some ES
platforms, they will be fixed when found.
The headers are now installed into `Magnum/OpenGL` (not into any
artificial `external` directory). Now also installing GLES2 headers for
OpenGL ES 2 (previously ES3 headers were installed for both ES2 and
ES3).
13 years ago
Vladimír Vondruš
a0b83edd2b
Relicensing to MIT/Expat license, part 4: CMake and documentation files.
...
They didn't contain license header before, but I think adding it also
there wouldn't do any harm. Documentation is also integral part of the
codebase.
13 years ago
Vladimír Vondruš
6a1d061a3a
Updated FindCorrade.cmake from Corrade repository.
13 years ago
Vladimír Vondruš
005ae96cf3
FindMagnum: fixed formatting with `cmake --help-module`.
13 years ago
Vladimír Vondruš
1a051707da
FindMagnum: it's FindFreetype.cmake, not FindFreeType.cmake.
...
Although the library is still named FreeType. Fixes warnings in
dependent projects.
13 years ago
Vladimír Vondruš
1f8efd4a97
Updated FindCorrade.cmake from Corrade repository.
13 years ago