mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 16:14:38 +00:00
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:
parent
1683b74937
commit
fe05474f1e
2 changed files with 18 additions and 18 deletions
|
|
@ -767,21 +767,21 @@ if (TORQUE_TARGET_PROPERTIES)
|
||||||
endif (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_include_directories(${TORQUE_APP_NAME} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} "${CMAKE_BINARY_DIR}/temp" ${TORQUE_INCLUDE_DIRECTORIES})
|
||||||
|
|
||||||
# target_precompile_headers(${TORQUE_APP_NAME} PRIVATE
|
target_precompile_headers(${TORQUE_APP_NAME} PRIVATE
|
||||||
# <vector>
|
<vector>
|
||||||
# <string>
|
<string>
|
||||||
# <map>
|
<map>
|
||||||
# <memory>
|
<memory>
|
||||||
# <algorithm>
|
<algorithm>
|
||||||
# <type_traits>
|
<type_traits>
|
||||||
# <cstring>
|
<cstring>
|
||||||
# <cstdlib>
|
<cstdlib>
|
||||||
# <cstdio>
|
<cstdio>
|
||||||
# <cmath>
|
<cmath>
|
||||||
# <cstdint>
|
<cstdint>
|
||||||
# <cmath>
|
<cmath>
|
||||||
# "console/engineObject.h"
|
"console/engineObject.h"
|
||||||
# )
|
)
|
||||||
|
|
||||||
if(TORQUE_TESTING)
|
if(TORQUE_TESTING)
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
|
|
|
||||||
|
|
@ -54,11 +54,11 @@ ENDMACRO()
|
||||||
# specified directory then adds them to the TORQUE_SOURCE_FILES variable.
|
# specified directory then adds them to the TORQUE_SOURCE_FILES variable.
|
||||||
macro (torqueAddSourceDirectories)
|
macro (torqueAddSourceDirectories)
|
||||||
foreach(ARGUMENT ${ARGV})
|
foreach(ARGUMENT ${ARGV})
|
||||||
file(GLOB SCANNED_SOURCE_FILES "${ARGUMENT}/*.cpp")
|
file(GLOB SCANNED_SOURCE_FILES CONFIGURE_DEPENDS "${ARGUMENT}/*.cpp")
|
||||||
file(GLOB SCANNED_INCLUDE_FILES "${ARGUMENT}/*.h")
|
file(GLOB SCANNED_INCLUDE_FILES CONFIGURE_DEPENDS "${ARGUMENT}/*.h")
|
||||||
|
|
||||||
if (APPLE)
|
if (APPLE)
|
||||||
file(GLOB SCANNED_MAC_FILES "${ARGUMENT}/*.mm")
|
file(GLOB SCANNED_MAC_FILES CONFIGURE_DEPENDS "${ARGUMENT}/*.mm")
|
||||||
endif (APPLE)
|
endif (APPLE)
|
||||||
|
|
||||||
# Set in both current and parent scope so this macro can be used from loaded modules
|
# Set in both current and parent scope so this macro can be used from loaded modules
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue