mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 15:14:35 +00:00
initial changes
should be longer build time on this pr as it is rebuilding the engine twice, will begin removing unnecessary files and possibly removing the preproc so the unit tests could use the same result as the engine build.
This commit is contained in:
parent
ebd409c2e9
commit
4017c3a21d
10 changed files with 230 additions and 68 deletions
|
|
@ -99,10 +99,6 @@ set(TORQUE_COMPILE_DEFINITIONS ICE_NO_DLL PCRE_STATIC TORQUE_ADVANCED_LIGHTING T
|
|||
# All link libraries. Modules should append to this the path to specify additional link libraries (.a, .lib, .dylib, .so)
|
||||
set(TORQUE_LINK_LIBRARIES png_static tinyxml2 collada squish opcode assimp SDL2 glad pcre convexMath zlib)
|
||||
|
||||
if(TORQUE_TESTING)
|
||||
set(TORQUE_LINK_LIBRARIES ${TORQUE_LINK_LIBRARIES} gtest gmock)
|
||||
endif()
|
||||
|
||||
if(NOT WIN32)
|
||||
set(WIN32 OFF CACHE BOOL "" FORCE)
|
||||
endif()
|
||||
|
|
|
|||
|
|
@ -201,6 +201,7 @@ function(add_math_backend name compile_defs)
|
|||
endif()
|
||||
|
||||
# Inject objects into engine
|
||||
target_sources(${TORQUE_APP_NAME} PRIVATE $<TARGET_OBJECTS:math_${name}>)
|
||||
list(APPEND TORQUE_MATH_BACKENDS math_${name})
|
||||
set(TORQUE_MATH_BACKENDS ${TORQUE_MATH_BACKENDS} PARENT_SCOPE)
|
||||
set_target_properties(math_${name} PROPERTIES FOLDER "Libraries/Math")
|
||||
endfunction()
|
||||
Loading…
Add table
Add a link
Reference in a new issue