CMake: remove extraneous TestUtils directory
This commit is contained in:
parent
87d64afe19
commit
41fb6db6e3
|
@ -11,7 +11,7 @@ file(MAKE_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/Tests)
|
||||||
# Otherwise CMake inserts the library after core, but before other core
|
# Otherwise CMake inserts the library after core, but before other core
|
||||||
# dependencies like videocommon which also use Host_ functions, which makes the
|
# dependencies like videocommon which also use Host_ functions, which makes the
|
||||||
# GNU linker complain.
|
# GNU linker complain.
|
||||||
add_library(unittests_stubhost OBJECT TestUtils/StubHost.cpp)
|
add_library(unittests_stubhost OBJECT StubHost.cpp)
|
||||||
|
|
||||||
macro(add_dolphin_test target)
|
macro(add_dolphin_test target)
|
||||||
add_executable(${target} EXCLUDE_FROM_ALL
|
add_executable(${target} EXCLUDE_FROM_ALL
|
||||||
|
@ -27,8 +27,6 @@ macro(add_dolphin_test target)
|
||||||
add_test(NAME ${target} COMMAND ${target})
|
add_test(NAME ${target} COMMAND ${target})
|
||||||
endmacro()
|
endmacro()
|
||||||
|
|
||||||
add_subdirectory(TestUtils)
|
|
||||||
|
|
||||||
add_subdirectory(Common)
|
add_subdirectory(Common)
|
||||||
add_subdirectory(Core)
|
add_subdirectory(Core)
|
||||||
add_subdirectory(VideoCommon)
|
add_subdirectory(VideoCommon)
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
set(SRCS
|
|
||||||
# Do not add StubHost.cpp here - it is added manually via add_dolphin_test.
|
|
||||||
)
|
|
||||||
|
|
||||||
set(LIBS
|
|
||||||
)
|
|
||||||
|
|
||||||
# TODO: uncomment when there is actually something here.
|
|
||||||
#add_dolphin_library(testutils "${SRCS}" "${LIBS}")
|
|
|
@ -60,6 +60,7 @@
|
||||||
<ClCompile Include="$(ExternalsDir)gtest\src\gtest-all.cc" />
|
<ClCompile Include="$(ExternalsDir)gtest\src\gtest-all.cc" />
|
||||||
<ClCompile Include="$(ExternalsDir)gtest\src\gtest_main.cc" />
|
<ClCompile Include="$(ExternalsDir)gtest\src\gtest_main.cc" />
|
||||||
<!--Lump all of the tests (and supporting code) into one binary-->
|
<!--Lump all of the tests (and supporting code) into one binary-->
|
||||||
|
<ClCompile Include="*.cpp" />
|
||||||
<ClCompile Include="*\*.cpp" />
|
<ClCompile Include="*\*.cpp" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|
Loading…
Reference in New Issue