Vladimír Vondruš
ecebf0fd02
Platform: added new flags to magnum-info.
10 years ago
Vladimír Vondruš
5d52b74edf
modules: updated FindCorrade.cmake.
10 years ago
Vladimír Vondruš
e03f812fef
modules: properly handle implicit required inter-module dependencies.
10 years ago
Vladimír Vondruš
6af6c68d26
modules: updated FindCorrade.cmake.
10 years ago
Vladimír Vondruš
abe2c5bd66
modules: fix root library finding for superprojects.
...
Will this never end?!
10 years ago
Vladimír Vondruš
b5851b552d
modules: fix Application and Context aliases for superprojects.
...
Oh well :(
10 years ago
Vladimír Vondruš
f47a40614d
Properly create Magnum::Magnum aliased target for superprojects.
10 years ago
Vladimír Vondruš
1f0617ac27
modules: updated FindMagnum.cmake.
...
It was not handling the case of both debug and release libraries for
application and contexts properly.
10 years ago
Vladimír Vondruš
e71ccafbc7
package/ci: revert back to separate directory to have SDL2 build cached.
10 years ago
Vladimír Vondruš
2182e43f5e
package/ci: and now let's fix Linux build, again.
...
Also updated to SDL 2.0.4.
10 years ago
Vladimír Vondruš
c943873a42
package/ci: use Homebrew SDL2 package on OSX.
10 years ago
Vladimír Vondruš
d86a525013
package/ci: build (but not run) also GL tests.
...
Should catch a bit more bugs with windowless applications and such.
10 years ago
Vladimír Vondruš
a7acee6516
modules: add forgotten WindowlessWglApplication into the find module.
...
Sorry!
10 years ago
Vladimír Vondruš
84c80c297f
modules: CMake goes crazy when I'm using frameworks as imported targets.
...
And the bug is closed as "wontfix". Dammit.
https://cmake.org/Bug/view.php?id=13765
10 years ago
Vladimír Vondruš
27ac1e4575
Modern CMake usage: don't treat imported targets as files.
10 years ago
Vladimír Vondruš
01ffbe93a9
Modern CMake usage: reworked to use target-specific properties.
...
As with Corrade, this is not exactly backwards compatible, but for
common use case without OBJECT libraries this should not be a problem.
In any case, recreate the build dir and update your copy of all
Find*.cmake modules to avoid weird things happening.
User-facing changes:
* Documentation of all Find*.cmake modules converted to
reStructuredText to follow official CMake guidelines.
* The newfangled way to use the libraries is to link to Magnum::Shaders
instead of adding ${MAGNUM_SHADERS_INCLUDE_DIRS} to include path and
linking to ${MAGNUM_SHADERS_LIBRARIES}.
* The old ${MAGNUM_*_LIBRARIES} are deprecated and now just expand to
Magnum::* target. Use the target directly. These are also enabled
only when building with MAGNUM_BUILD_DEPRECATED.
* The old ${MAGNUM_*_INCLUDE_DIRS} are removed as the Magnum::* targets
cover these too.
Internal changes:
* Global state such as include_directories() was replaced with
target-specific settings.
10 years ago
Vladimír Vondruš
08a2a75c5c
Modern CMake usage: updated FindCorrade.cmake and FindNodeJs.cmake.
10 years ago
Vladimír Vondruš
4a540d5c6c
Modern CMake usage: bump minimal version to 2.8.12.
10 years ago
Vladimír Vondruš
ca887ddebe
Modern CMake usage: use CMake 2.8.12 on Travis CI.
10 years ago
Vladimír Vondruš
21e2ed7577
Math: no need to make the test complicated.
10 years ago
Vladimír Vondruš
c33fddec86
Updated toolchains submodule.
10 years ago
Vladimír Vondruš
e832e46342
modules: updated FindCorrade.cmake.
10 years ago
Vladimír Vondruš
70f7694d5a
Fix building on GLES2/WebGL.
10 years ago
Vladimír Vondruš
3a87c9b948
Properly reset image bindings on destruction.
10 years ago
Vladimír Vondruš
2f97617bb6
Minor cleanup and documentation.
10 years ago
Nicholas "LB" Braden
f9ead4ef83
Fix 'zero as null pointer constant' warning
...
Scanning dependencies of target MagnumWindowlessWglApplication
[ 30%] Building CXX object src/Magnum/Platform/CMakeFiles/MagnumWindowlessWglApplication.dir/WindowlessWglApplication.cpp.obj
C:\Users\LB\Code\Magnum\build\Magnum-prefix\src\Magnum\src\Magnum\Platform\WindowlessWglApplication.cpp: In member function 'bool Magnum::Platform::WindowlessWglApplication::tryCreateContext(const Magnum::Platform::WindowlessWglApplication::Configuration&)':
C:\Users\LB\Code\Magnum\build\Magnum-prefix\src\Magnum\src\Magnum\Platform\WindowlessWglApplication.cpp:124:81: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant]
_renderingContext = wglCreateContextAttribsARB(_deviceContext, 0, attributes);
^
[ 30%] Linking CXX static library libMagnumWindowlessWglApplication.a
[ 30%] Built target MagnumWindowlessWglApplication
10 years ago
dlardi
5975945d29
WGL context library build fixed
10 years ago
Vladimír Vondruš
7949c376c5
Platform: link also all static libraries to Magnum.
...
So we inherit all include directories, options and everything.
10 years ago
Vladimír Vondruš
60772f478e
Use proper CMake variable for Corrade Utility library.
10 years ago
Vladimír Vondruš
8469beec3b
Platform: destroy SDL2 window also if Magnum context creation fails.
...
Not sure why I omitted that.
10 years ago
Vladimír Vondruš
29081acc94
Platform: avoid window blinking with multiple context creation attempts.
...
The window is only shown once we are sure that everything went smoothly.
10 years ago
Vladimír Vondruš
a3b84a4bf3
doc: update Homebrew installation docs.
...
Fucking undocumented moving target. Why is it not possible to install
from a file anymore?! Why make things unnecessarily complicated?!
10 years ago
Vladimír Vondruš
4bcb79c315
Platform: properly handle SDL2 context creation failure on Emscripten.
10 years ago
Vladimír Vondruš
fedf84a871
Platform: remove unneeded flag fiddling in Sdl2Application.
...
The SDL2 documentation explicitly says the following:
SDL_WINDOW_SHOWN is ignored by SDL_CreateWindow(). The SDL_Window is
implicitly shown if SDL_WINDOW_HIDDEN is not set.
10 years ago
Vladimír Vondruš
99b402c771
package/debian: stop annoying linters complain about meaningless things.
10 years ago
Vladimír Vondruš
b42c436df0
doc: suggest static building for iOS.
10 years ago
Vladimír Vondruš
0658f7a5f8
modules: don't unset MAGNUM_*APPLICATION_* vars if they stay the same.
...
Use case: user is calling find_package(Magnum REQUIRED Sdl2Application) in
a toplevel dir and in a subdir. The second call would unset the
MAGNUM_APPLICATION_LIBRARIES which is not correct, because it still is just
that one application.
Also, now instead of unsetting the variables are set to -NOTFOUND so they
produce an error when used as libraries/include directories for a target.
10 years ago
Vladimír Vondruš
4d9f4bd25d
Install Test/AbstractOpenGLTester.h every time.
10 years ago
Squareys
c11903975a
doc++: ResourceManager::instance() now returns a reference.
...
Signed-off-by: Squareys <Squareys@googlemail.com>
10 years ago
Squareys
cf6ef1310a
doc++: Use AnimableGroup3D instead of DrawableGroup3D for Animable3D.
...
Signed-off-by: Squareys <Squareys@googlemail.com>
10 years ago
Vladimír Vondruš
25a2796833
Fix Doxygen warnings.
10 years ago
Vladimír Vondruš
08c8f5a635
Advertise iOS support, document building and usage.
10 years ago
Vladimír Vondruš
02b2ce109f
Platform: doc++
10 years ago
Vladimír Vondruš
a771b60af6
Platform: use zero window size on iOS and let SDL2 autodetect.
...
Hopefully this feature won't go away in some future version.
10 years ago
Vladimír Vondruš
e70cb8bfdc
Platform: no point in having SDL2 window title on iOS.
10 years ago
Vladimír Vondruš
f3d774fa48
Math: revert ability to convert Vector<1, T> to T.
...
Doesn't solve problem I hoped it would solve (adding pointer and
Vector<1, size_t> still doesn't compile), breaks GCC 4.7 build in some
crazy way and makes certain previously-working operations (like
operator== on Vector<1, int> and int) ambiguous. Not worth pursuing
further, I think.
This reverts commit ca0892f026 .
This reverts commit d6d0fd1890 .
10 years ago
Vladimír Vondruš
18bb3fccfc
Platform: fix iOS display orientation events in Sdl2Application.
10 years ago
Vladimír Vondruš
5d110ba7b1
Math: added Range::contains().
10 years ago
Vladimír Vondruš
4caef08cee
Doc++
10 years ago
Vladimír Vondruš
1dc9ba8611
package/debian: fix build on machines with custom binary NV drivers.
...
WHAT THE FUCK. THIS IS INSANE.
10 years ago