|
@@ -175,7 +175,7 @@ if (TARGET_UNIT_TESTS)
|
|
# Create UnitTests executable
|
|
# Create UnitTests executable
|
|
include(${PHYSICS_REPO_ROOT}/UnitTests/UnitTests.cmake)
|
|
include(${PHYSICS_REPO_ROOT}/UnitTests/UnitTests.cmake)
|
|
add_executable(UnitTests ${UNIT_TESTS_SRC_FILES})
|
|
add_executable(UnitTests ${UNIT_TESTS_SRC_FILES})
|
|
- target_include_directories(UnitTests PUBLIC ${JOLT_PHYSICS_ROOT} ${UNIT_TESTS_ROOT})
|
|
|
|
|
|
+ target_include_directories(UnitTests PUBLIC ${UNIT_TESTS_ROOT})
|
|
target_link_libraries (UnitTests LINK_PUBLIC Jolt)
|
|
target_link_libraries (UnitTests LINK_PUBLIC Jolt)
|
|
if ("${CMAKE_SYSTEM_NAME}" STREQUAL "Windows")
|
|
if ("${CMAKE_SYSTEM_NAME}" STREQUAL "Windows")
|
|
target_link_options(UnitTests PUBLIC "/SUBSYSTEM:CONSOLE")
|
|
target_link_options(UnitTests PUBLIC "/SUBSYSTEM:CONSOLE")
|
|
@@ -199,7 +199,7 @@ if (TARGET_HELLO_WORLD)
|
|
# Example 'Hello World' application
|
|
# Example 'Hello World' application
|
|
include(${PHYSICS_REPO_ROOT}/HelloWorld/HelloWorld.cmake)
|
|
include(${PHYSICS_REPO_ROOT}/HelloWorld/HelloWorld.cmake)
|
|
add_executable(HelloWorld ${HELLO_WORLD_SRC_FILES})
|
|
add_executable(HelloWorld ${HELLO_WORLD_SRC_FILES})
|
|
- target_include_directories(HelloWorld PUBLIC ${JOLT_PHYSICS_ROOT} ${HELLO_WORLD_ROOT})
|
|
|
|
|
|
+ target_include_directories(HelloWorld PUBLIC ${HELLO_WORLD_ROOT})
|
|
target_link_libraries (HelloWorld LINK_PUBLIC Jolt)
|
|
target_link_libraries (HelloWorld LINK_PUBLIC Jolt)
|
|
if ("${CMAKE_SYSTEM_NAME}" STREQUAL "Windows")
|
|
if ("${CMAKE_SYSTEM_NAME}" STREQUAL "Windows")
|
|
target_link_options(HelloWorld PUBLIC "/SUBSYSTEM:CONSOLE")
|
|
target_link_options(HelloWorld PUBLIC "/SUBSYSTEM:CONSOLE")
|
|
@@ -210,7 +210,7 @@ if (TARGET_PERFORMANCE_TEST)
|
|
# Performance Test application
|
|
# Performance Test application
|
|
include(${PHYSICS_REPO_ROOT}/PerformanceTest/PerformanceTest.cmake)
|
|
include(${PHYSICS_REPO_ROOT}/PerformanceTest/PerformanceTest.cmake)
|
|
add_executable(PerformanceTest ${PERFORMANCE_TEST_SRC_FILES})
|
|
add_executable(PerformanceTest ${PERFORMANCE_TEST_SRC_FILES})
|
|
- target_include_directories(PerformanceTest PUBLIC ${JOLT_PHYSICS_ROOT} ${PERFORMANCE_TEST_ROOT})
|
|
|
|
|
|
+ target_include_directories(PerformanceTest PUBLIC ${PERFORMANCE_TEST_ROOT})
|
|
target_link_libraries (PerformanceTest LINK_PUBLIC Jolt)
|
|
target_link_libraries (PerformanceTest LINK_PUBLIC Jolt)
|
|
if ("${CMAKE_SYSTEM_NAME}" STREQUAL "Windows")
|
|
if ("${CMAKE_SYSTEM_NAME}" STREQUAL "Windows")
|
|
target_link_options(PerformanceTest PUBLIC "/SUBSYSTEM:CONSOLE")
|
|
target_link_options(PerformanceTest PUBLIC "/SUBSYSTEM:CONSOLE")
|