mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 13:27:45 -07:00
CMake: move unittests target to UnitTests
This commit is contained in:
parent
ea35549e00
commit
be2f4466e3
@ -806,13 +806,11 @@ include_directories("${PROJECT_BINARY_DIR}/Source/Core")
|
||||
message(STATUS "Using static gtest from Externals")
|
||||
add_subdirectory(Externals/gtest EXCLUDE_FROM_ALL)
|
||||
|
||||
enable_testing()
|
||||
add_custom_target(unittests)
|
||||
add_custom_command(TARGET unittests POST_BUILD COMMAND ${CMAKE_CTEST_COMMAND})
|
||||
|
||||
########################################
|
||||
# Process Dolphin source now that all setup is complete
|
||||
#
|
||||
add_subdirectory(Source)
|
||||
|
||||
|
||||
########################################
|
||||
# Install shared data files
|
||||
#
|
||||
|
@ -1,3 +1,7 @@
|
||||
enable_testing()
|
||||
add_custom_target(unittests)
|
||||
add_custom_command(TARGET unittests POST_BUILD COMMAND ${CMAKE_CTEST_COMMAND})
|
||||
|
||||
set(LIBS core gtest_main)
|
||||
if(APPLE)
|
||||
list(APPEND LIBS ${FOUNDATION_LIBRARY} ${CORESERV_LIBRARY})
|
||||
|
Loading…
Reference in New Issue
Block a user