diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-24 12:54:15 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-24 12:54:15 +0200 |
commit | 7b61abef4662560924265357fbe8c4d50ecd389c (patch) | |
tree | d73c41ce9102a40cc5b27fac75efcb9efa789b9e /main | |
parent | 700942f351d85f326bb1d6725e688920dc8de942 (diff) |
a
Diffstat (limited to 'main')
-rw-r--r-- | main/CMakeLists.txt | 5 | ||||
-rw-r--r-- | main/precomp.hpp | 15 |
2 files changed, 16 insertions, 4 deletions
diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt index 77538920..a2d71a61 100644 --- a/main/CMakeLists.txt +++ b/main/CMakeLists.txt @@ -1,11 +1,12 @@ +set(self ${PROJECT_NAME}-main) file(GLOB sources "*.cpp" CONFIGURE_ARGS) link_libraries(${PROJECT_NAME}) link_libraries(Magnum::Sdl2Application Corrade::Containers Magnum::GL Magnum::Trade) link_libraries(MagnumIntegration::ImGui) -add_library(${PROJECT_NAME}-main STATIC "${sources}") +add_library(${self} STATIC "${sources}") if(FLOORMAT_PRECOMPILED-HEADERS) - target_precompile_headers(${PROJECT_NAME}-main PRIVATE precomp.hpp) + target_precompile_headers(${self} PRIVATE precomp.hpp) endif() diff --git a/main/precomp.hpp b/main/precomp.hpp index bd769578..cff156e7 100644 --- a/main/precomp.hpp +++ b/main/precomp.hpp @@ -2,9 +2,20 @@ #include "src/precomp.hpp" -#include <Corrade/Utility/Arguments.h> #include <Corrade/Utility/DebugStl.h> - #include <Corrade/Containers/String.h> + +#include <Magnum/Math/Vector2.h> +#include <Magnum/Timeline.h> +#include <Magnum/GL/DebugOutput.h> +#include <Magnum/GL/DefaultFramebuffer.h> +#include <Magnum/GL/Framebuffer.h> +#include <Magnum/GL/Renderbuffer.h> #include <Magnum/GL/RenderbufferFormat.h> #include <Magnum/Platform/Sdl2Application.h> + +#include <SDL_keycode.h> +#include <SDL_mouse.h> +#include <SDL_events.h> + +#include <cstdlib> |