mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 17:00:19 +02:00
TestHarnessRunner: Move to its own tool folder
Needs #3331 merged first No functional change, just code movement.
This commit is contained in:
1 parent
9dda960529
commit
c3d2d01c1f
6 files changed
+28
-22
No files matched your search
@@ -26,3 +26,7 @@ if (NOT MINGW_BUILD)
|
||||
endif()
|
||||
|
||||
add_subdirectory(FEXLoader/)
|
||||
|
||||
if (BUILD_TESTS)
|
||||
add_subdirectory(TestHarnessRunner/)
|
||||
endif()
|
||||
@@ -157,25 +157,3 @@ if (NOT MINGW_BUILD)
|
||||
)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if (BUILD_TESTS)
|
||||
set (SRCS TestHarnessRunner.cpp)
|
||||
if (NOT MINGW_BUILD)
|
||||
list(APPEND SRCS TestHarnessRunner/HostRunner.cpp)
|
||||
list(APPEND LIBS LinuxEmulation CommonTools)
|
||||
endif()
|
||||
|
||||
add_executable(TestHarnessRunner ${SRCS})
|
||||
target_compile_definitions(TestHarnessRunner PRIVATE ${DEFINES})
|
||||
|
||||
target_include_directories(TestHarnessRunner
|
||||
PRIVATE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/Source/
|
||||
${CMAKE_BINARY_DIR}/generated
|
||||
)
|
||||
target_link_libraries(TestHarnessRunner
|
||||
PRIVATE
|
||||
${LIBS}
|
||||
${PTHREAD_LIB}
|
||||
)
|
||||
endif()
|
||||
@@ -0,0 +1,24 @@
|
||||
list(APPEND LIBS FEXCore Common)
|
||||
|
||||
set (SRCS TestHarnessRunner.cpp)
|
||||
if (NOT MINGW_BUILD)
|
||||
list(APPEND SRCS TestHarnessRunner/HostRunner.cpp)
|
||||
list(APPEND LIBS LinuxEmulation CommonTools)
|
||||
endif()
|
||||
|
||||
add_executable(TestHarnessRunner ${SRCS})
|
||||
|
||||
if (ENABLE_VIXL_SIMULATOR)
|
||||
target_compile_definitions(TestHarnessRunner PRIVATE "-DVIXL_SIMULATOR=1")
|
||||
endif()
|
||||
|
||||
target_include_directories(TestHarnessRunner
|
||||
PRIVATE
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/Source/
|
||||
${CMAKE_BINARY_DIR}/generated
|
||||
)
|
||||
target_link_libraries(TestHarnessRunner
|
||||
PRIVATE
|
||||
${LIBS}
|
||||
${PTHREAD_LIB}
|
||||
)
|
||||
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user