summaryrefslogtreecommitdiffhomepage
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/CMakeLists.txt4
-rw-r--r--main/precomp.hpp3
2 files changed, 7 insertions, 0 deletions
diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt
index 9780ad4c..617c78aa 100644
--- a/main/CMakeLists.txt
+++ b/main/CMakeLists.txt
@@ -14,3 +14,7 @@ endif()
add_executable(${self} "${sources}" "${res}")
set_property(TARGET ${self} PROPERTY OUTPUT_NAME "${PROJECT_NAME}")
install(TARGETS ${self} RUNTIME DESTINATION bin)
+
+if(FLOORMAT_PRECOMPILED-HEADERS)
+ target_precompile_headers(${self} PRIVATE precomp.hpp)
+endif()
diff --git a/main/precomp.hpp b/main/precomp.hpp
new file mode 100644
index 00000000..b38f46f9
--- /dev/null
+++ b/main/precomp.hpp
@@ -0,0 +1,3 @@
+#pragma once
+#include "src/precomp.hpp"
+#include "app.hpp"