summaryrefslogtreecommitdiffhomepage
path: root/editor
diff options
context:
space:
mode:
Diffstat (limited to 'editor')
-rw-r--r--editor/CMakeLists.txt7
-rw-r--r--editor/precomp.hpp25
2 files changed, 0 insertions, 32 deletions
diff --git a/editor/CMakeLists.txt b/editor/CMakeLists.txt
index f94c21e1..306c95f4 100644
--- a/editor/CMakeLists.txt
+++ b/editor/CMakeLists.txt
@@ -23,16 +23,9 @@ if(NOT SDL2_INCLUDE_DIRS)
get_target_property(SDL2_INCLUDE_DIRS SDL2::SDL2 INTERFACE_INCLUDE_DIRECTORIES)
endif()
endif()
-if(FLOORMAT_PRECOMPILED-HEADERS)
- include_directories("${SDL2_INCLUDE_DIRS}")
-endif()
set_property(SOURCE "events.cpp" APPEND PROPERTY INCLUDE_DIRECTORIES "${SDL2_INCLUDE_DIRS}")
add_executable(${self} dummy.cc)
target_link_libraries(${self} PRIVATE ${self}_o floormat-main floormat-serialize floormat-draw floormat)
-if(FLOORMAT_PRECOMPILED-HEADERS)
- target_precompile_headers(${self}_o PRIVATE precomp.hpp)
-endif()
-
install(TARGETS ${self} RUNTIME DESTINATION bin)
diff --git a/editor/precomp.hpp b/editor/precomp.hpp
deleted file mode 100644
index c0167163..00000000
--- a/editor/precomp.hpp
+++ /dev/null
@@ -1,25 +0,0 @@
-#pragma once
-
-#include "src/precomp.hpp"
-#include "entity/metadata.hpp"
-#include "entity/accessor.hpp"
-
-#include "src/entity.hpp"
-#include "src/chunk.hpp"
-#include "src/world.hpp"
-#include "src/global-coords.hpp"
-#include "src/anim-atlas.hpp"
-
-#include "app.hpp"
-#include "imgui-raii.hpp"
-
-#include <cstdlib>
-#include <map>
-
-#include <Corrade/Containers/BitArrayView.h>
-#include <Corrade/Utility/Arguments.h>
-#include <Magnum/ImGuiIntegration/Context.hpp>
-
-#if __has_include(<SDL.h>)
-#include <Magnum/Platform/Sdl2Application.h>
-#endif