diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-22 23:21:14 +0200 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-22 23:21:56 +0200 |
| commit | 531a60115fb39f1f3dd7fb45ade070e0611cd003 (patch) | |
| tree | 148b5093bb67cc708a578813d19a74060830dce0 /main | |
| parent | c6d1c452bae2078833c364525aed6a583a289ac3 (diff) | |
precompiled headers
Diffstat (limited to 'main')
| -rw-r--r-- | main/CMakeLists.txt | 4 | ||||
| -rw-r--r-- | main/precomp.hpp | 3 |
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" |
