From 531a60115fb39f1f3dd7fb45ade070e0611cd003 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 22 Oct 2022 23:21:14 +0200 Subject: precompiled headers --- draw/CMakeLists.txt | 3 +++ draw/precomp.hpp | 2 ++ 2 files changed, 5 insertions(+) create mode 100644 draw/precomp.hpp (limited to 'draw') 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" -- cgit v1.2.3