From e21ce4113bb7df4d8092199c7abbabaca8b97a70 Mon Sep 17 00:00:00 2001 From: veclavtalica Date: Tue, 20 Aug 2024 17:25:01 +0300 Subject: [PATCH] precompile glad.h and stb_ds.h headers --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index f4468e9..8d12a67 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -70,6 +70,11 @@ set_target_properties(${TOWNENGINE_TARGET} PROPERTIES C_STANDARD_REQUIRED ON C_EXTENSIONS ON) # extensions are required by stb_ds.h +target_precompile_headers(${TOWNENGINE_TARGET} PRIVATE + third-party/glad/include/glad/glad.h + third-party/stb/stb_ds.h +) + # distribution definitions set(ORGANIZATION_NAME "wanp" CACHE STRING "App developer/publisher's identifier")