diff options
author | Shauren <shauren.trinity@gmail.com> | 2025-06-11 21:43:33 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2025-06-11 21:43:33 +0200 |
commit | e9a2f84fd3f203a1942c87c5c9c38b5b4ff6d051 (patch) | |
tree | f2bfd19ccab7aded1255b02f57eb85a93be890ef /dep | |
parent | 1dc114148050365094fd538dc6ffba52566fb99c (diff) |
Dep/g3d: Enable PCH
Diffstat (limited to 'dep')
-rw-r--r-- | dep/g3dlite/CMakeLists.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/dep/g3dlite/CMakeLists.txt b/dep/g3dlite/CMakeLists.txt index fc22b4e10b8..2397bd8d05b 100644 --- a/dep/g3dlite/CMakeLists.txt +++ b/dep/g3dlite/CMakeLists.txt @@ -77,3 +77,14 @@ set_target_properties(g3dlib PROPERTIES FOLDER "dep") + +# Generate precompiled header +if(USE_COREPCH) + list(APPEND g3dlib_PCH_HEADERS + [["G3D/Any.h"]] + [["G3D/Array.h"]] + [["G3D/BinaryOutput.h"]] + [["G3D/Vector3.h"]]) + + add_cxx_pch(g3dlib "${g3dlib_PCH_HEADERS}") +endif() |