precompile glad.h and stb_ds.h headers

This commit is contained in:
veclav talica 2024-08-20 17:25:01 +03:00
parent e34b39a039
commit e21ce4113b

View File

@ -70,6 +70,11 @@ set_target_properties(${TOWNENGINE_TARGET} PROPERTIES
C_STANDARD_REQUIRED ON C_STANDARD_REQUIRED ON
C_EXTENSIONS ON) # extensions are required by stb_ds.h 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 # distribution definitions
set(ORGANIZATION_NAME "wanp" CACHE STRING set(ORGANIZATION_NAME "wanp" CACHE STRING
"App developer/publisher's identifier") "App developer/publisher's identifier")