From 860189e34fb24cc908c306489bf2d62e6c13f5a8 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 13 Jan 2024 03:52:43 +0100 Subject: w --- src/CMakeLists.txt | 2 ++ src/anim.hpp | 2 +- src/chunk-render.cpp | 1 - src/chunk-scenery.cpp | 2 +- src/path-search.cpp | 4 ---- 5 files changed, 4 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index f8d3e032..6f1e78cd 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -10,3 +10,5 @@ target_link_libraries( fmt::fmt tsl::robin_map ) + +#target_precompile_headers(${self} PUBLIC precomp.hpp) diff --git a/src/anim.hpp b/src/anim.hpp index e505f29f..3b4d70a9 100644 --- a/src/anim.hpp +++ b/src/anim.hpp @@ -1,6 +1,6 @@ #pragma once -#include +#include // todo use #include #include #include diff --git a/src/chunk-render.cpp b/src/chunk-render.cpp index ffaa33ec..459f51b7 100644 --- a/src/chunk-render.cpp +++ b/src/chunk-render.cpp @@ -2,7 +2,6 @@ #include "ground-atlas.hpp" #include "quads.hpp" #include "shaders/shader.hpp" -#include "compat/defs.hpp" #include #include #include diff --git a/src/chunk-scenery.cpp b/src/chunk-scenery.cpp index 807b1d70..50840453 100644 --- a/src/chunk-scenery.cpp +++ b/src/chunk-scenery.cpp @@ -5,7 +5,7 @@ #include "scenery.hpp" #include "quads.hpp" #include -#include +#include #include namespace floormat { diff --git a/src/path-search.cpp b/src/path-search.cpp index 2f799f73..94da7f10 100644 --- a/src/path-search.cpp +++ b/src/path-search.cpp @@ -4,10 +4,6 @@ #include "pass-mode.hpp" #include "RTree-search.hpp" #include "compat/function2.hpp" -#include -#include -#include -#include namespace floormat { -- cgit v1.2.3