summaryrefslogtreecommitdiffhomepage
path: root/draw
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-22 23:21:14 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-10-22 23:21:56 +0200
commit531a60115fb39f1f3dd7fb45ade070e0611cd003 (patch)
tree148b5093bb67cc708a578813d19a74060830dce0 /draw
parentc6d1c452bae2078833c364525aed6a583a289ac3 (diff)
precompiled headers
Diffstat (limited to 'draw')
-rw-r--r--draw/CMakeLists.txt3
-rw-r--r--draw/precomp.hpp2
2 files changed, 5 insertions, 0 deletions
diff --git a/draw/CMakeLists.txt b/draw/CMakeLists.txt
index 9dd2e869..a76cecbf 100644
--- a/draw/CMakeLists.txt
+++ b/draw/CMakeLists.txt
@@ -7,3 +7,6 @@ target_link_libraries(${self} PUBLIC
Magnum::Shaders
${PROJECT_NAME}
)
+if(FLOORMAT_PRECOMPILED-HEADERS)
+ target_precompile_headers(${self} PRIVATE precomp.hpp)
+endif()
diff --git a/draw/precomp.hpp b/draw/precomp.hpp
new file mode 100644
index 00000000..e81a58f0
--- /dev/null
+++ b/draw/precomp.hpp
@@ -0,0 +1,2 @@
+#pragma once
+#include "src/precomp.hpp"