Vladimír Vondruš
a981593bd0
DebugTools: don't force dependency on SceneGraph and Shapes.
10 years ago
Vladimír Vondruš
98e7717ae0
Proper dependency order of CMake options.
...
Don't hide anything by default, hide them only if they are a dependency
of something else.
10 years ago
Vladimír Vondruš
afd4ca73e7
CMake: enable MACOSX_RPATH by default.
11 years ago
Vladimír Vondruš
6ebe8fb131
CMake: enable PIC by default when building static libs/plugins.
...
Common use case is to have static libraries and dynamic plugins, which
means that the static libraries need to have PIC enabled.
11 years ago
Vladimír Vondruš
447ca6a2ff
CMake subproject support, part 1: use project-relative paths.
...
Otherwise it would reference directory relative to source root and not
project root, which is not always the same.
11 years ago
Vladimír Vondruš
41fe0254d9
Force TARGET_GLES on Windows RT.
11 years ago
Vladimír Vondruš
eb590c7f47
Make it possible to run GL tests on Windows/EGL.
11 years ago
Vladimír Vondruš
ad342ab18f
Platform: build magnum-info on Windows/EGL too.
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š
11208cef20
Initial MSVC 2015 support in CMake.
11 years ago
Vladimír Vondruš
5c6bfa44b2
CMake cleanup.
11 years ago
Vladimír Vondruš
2c6ea0b0f1
Revert "Enable only C++ to speed up CMake run."
...
Doesn't work on 2.8.12 and we want to support >= 2.8.9.
This reverts commit d5026d08d3 .
11 years ago
Vladimír Vondruš
d5026d08d3
Enable only C++ to speed up CMake run.
11 years ago
Vladimír Vondruš
88f0415290
Support OpenGL tests also on Windows and OS X.
...
I wanted to preserve the parameter-less constructor of tests, but WINAPI
requires fairly ugly entagled set of functions, passing HWND around,
which required storing it in a global var and hoping it is properly
initialized when querying it for it to be passed to application
constructor.
When this was done, it was now fairly easy to support passing also
argv/argc to application constructor, which in the future will enable
selective disabling of extensions for even better test coverage.
This however needed slightly different main() function and thus we now
have MAGNUM_GL_TEST_MAIN() instead of CORRADE_TEST_MAIN(). Using the
latter will result in an assert inside std::optional.
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š
33bb57ac74
Provide TARGET_WEBGL variable in CMake.
11 years ago
Vladimír Vondruš
058108c622
Make BUILD_STATIC_PIC CMake option independent.
...
Currently it was visible only if BUILD_STATIC was set, but it affects
both BUILD_STATIC and BUILD_PLUGINS_STATIC. And because
CMakeDependentOption doesn't support logic OR, I can't make it visible
if either of these two is set, so I'm just making it visible all the
time.
11 years ago
Vladimír Vondruš
46b87fc28e
Enable XEglApplication also on desktop.
11 years ago
Vladimír Vondruš
6488fe6e75
Oh, it's 2015 already.
11 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š
c19d2ee755
Require at least CMake 2.8.9.
12 years ago
Vladimír Vondruš
1ada7cdaa0
Ability to control static build of plugins separately.
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š
f98b39df4f
Doc++, minor cleanup.
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š
746b4eb692
Platform: specify dependencies for Application libs on single place.
12 years ago
Vladimír Vondruš
8cea818d43
Add back the missing MAGNUM_PLUGINS_INSTALL_DIR variable.
...
Caused the utilities to have empty plugin dir by default. Broken since
the debug/release library separation.
12 years ago
Vladimír Vondruš
3442556ee0
Minor code reorganization.
12 years ago
Vladimír Vondruš
c7b23a884f
Be consistent and use our own platform definitions.
12 years ago
Vladimír Vondruš
7ea1996566
Enable command-line utilities on OSX.
12 years ago
Travis Watkins
f845884a6e
Add support for windowless applications on OS X.
12 years ago
Vladimír Vondruš
a9a5ead13d
Dropped GCC 4.6 support.
12 years ago
Vladimír Vondruš
df26073620
Enabled other utilities on Windows.
12 years ago
Vladimír Vondruš
8e1e8ee30e
Platform: enable magnum-info on Windows.
12 years ago
Vladimír Vondruš
89f4ab09ad
Platform: added WindowlessWglApplication.
12 years ago
Vladimír Vondruš
34fc91bbd2
WITH_WINDOWLESSGLXAPPLICATION depends on WITH_DISTANCEFIELDCONVERTER.
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š
6dee292654
Added MAGNUM_TARGET_WEBGL definition.
...
Treating JavaScript and WebGL as first-class compile target. What the
world had come to :-)
12 years ago
Vladimír Vondruš
1b85fba608
Minor cleanup.
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š
e715b7dfd2
We don't have any platform support for Android yet.
12 years ago
Vladimír Vondruš
d2081e91ac
Advertise particular application libraries only on supported platforms.
12 years ago
Vladimír Vondruš
30d156b3c8
Build static libraries for Android.
...
Same reasoning as in Corrade.
12 years ago
Vladimír Vondruš
7702399222
Explicitly enable OpenGL ES when targeting Android.
12 years ago
Vladimír Vondruš
02be314e9c
Error out when compatibility branch is needed for particular compiler.
12 years ago
Vladimír Vondruš
6f0ba96cb6
Happy new year too.
12 years ago
Vladimír Vondruš
05b620dd09
Making includes absolute, part 2: make it compile again.
...
Added new root CMakeLists.txt file, the old include paths are used only
if MAGNUM_BUILD_DEPRECATED is set, thus it can now compile and install
only if deprecated build is enabled.
12 years ago
Vladimír Vondruš
48ee52b14f
Remove misleading comment.
...
We need 2.8.8 for much more things.
13 years ago