restore the precompiled header

test for whether configure depends will help with the precompiled header issue reported by steve_yorkshire
This commit is contained in:
marauder2k7 2026-06-17 07:16:17 +01:00
parent 1683b74937
commit fe05474f1e
2 changed files with 18 additions and 18 deletions

View file

@ -767,21 +767,21 @@ if (TORQUE_TARGET_PROPERTIES)
endif (TORQUE_TARGET_PROPERTIES)
target_include_directories(${TORQUE_APP_NAME} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} "${CMAKE_BINARY_DIR}/temp" ${TORQUE_INCLUDE_DIRECTORIES})
# target_precompile_headers(${TORQUE_APP_NAME} PRIVATE
# <vector>
# <string>
# <map>
# <memory>
# <algorithm>
# <type_traits>
# <cstring>
# <cstdlib>
# <cstdio>
# <cmath>
# <cstdint>
# <cmath>
# "console/engineObject.h"
# )
target_precompile_headers(${TORQUE_APP_NAME} PRIVATE
<vector>
<string>
<map>
<memory>
<algorithm>
<type_traits>
<cstring>
<cstdlib>
<cstdio>
<cmath>
<cstdint>
<cmath>
"console/engineObject.h"
)
if(TORQUE_TESTING)
if(WIN32)