summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-04-10 08:52:32 +0200
committerStanislaw Halik <sthalik@misaki.pl>2023-04-10 10:35:00 +0200
commitfdcff54e1d845343cdfe39040aac6f7ff9b4163a (patch)
treedb8de10a96b8022f43761c74a2d58453e3380d93 /src
parent8c867fac69fa9da0370000fa170cad1e22702ce5 (diff)
cmake: remove precompiled headers
They were having problems including fmtlib and robin_map.
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt3
-rw-r--r--src/precomp.hpp50
2 files changed, 0 insertions, 53 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index fb16a230..a03235e8 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -8,6 +8,3 @@ target_link_libraries(
Magnum::Shaders
fmt::fmt
)
-if(FLOORMAT_PRECOMPILED-HEADERS)
- target_precompile_headers(${self} PRIVATE precomp.hpp)
-endif()
diff --git a/src/precomp.hpp b/src/precomp.hpp
deleted file mode 100644
index b4cf310a..00000000
--- a/src/precomp.hpp
+++ /dev/null
@@ -1,50 +0,0 @@
-#pragma once
-
-#include "compat/prelude.hpp"
-#include "compat/integer-types.hpp"
-#include "compat/defs.hpp"
-#include "compat/assert.hpp"
-
-#if __has_include(<fmt/core.h>)
-#include "compat/exception.hpp"
-#endif
-
-#ifdef __GNUG__
-#pragma GCC system_header
-#endif
-
-#include <concepts>
-#include <memory>
-#include <type_traits>
-#include <utility>
-#include <algorithm>
-
-#include <tuple>
-#include <bitset>
-#include <array>
-#include <vector>
-#include <unordered_map>
-
-#include <Corrade/Containers/Array.h>
-#include <Corrade/Containers/ArrayViewStl.h>
-#include <Corrade/Containers/Pointer.h>
-#include <Corrade/Containers/String.h>
-#include <Corrade/Containers/StringView.h>
-
-#include <Corrade/Containers/PairStl.h>
-#include <Corrade/Containers/TripleStl.h>
-
-#include <Corrade/Utility/Debug.h>
-#include <Corrade/Utility/Path.h>
-
-#include <Magnum/Magnum.h>
-#include <Magnum/Math/Vector2.h>
-#include <Magnum/Math/Vector3.h>
-#include <Magnum/Math/Vector4.h>
-#include <Magnum/Math/Color.h>
-#include <Magnum/GL/AbstractShaderProgram.h>
-#include <Magnum/GL/Buffer.h>
-#include <Magnum/GL/Mesh.h>
-#include <Magnum/GL/Renderer.h>
-#include <Magnum/GL/Texture.h>
-#include <Magnum/Trade/ImageData.h>