mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-02-22 21:09:27 -06:00
Place gtest project into it's own folder
This commit is contained in:
Submodule ext/ghoul updated: 5a0eeedb39...a865235d5e
@@ -240,6 +240,7 @@ function (handle_option_tests)
|
||||
if (OPENSPACE_HAVE_TESTS)
|
||||
if (NOT TARGET gtest)
|
||||
add_subdirectory(${OPENSPACE_EXT_DIR}/ghoul/ext/gtest)
|
||||
set_property(TARGET gtest PROPERTY FOLDER "External")
|
||||
endif ()
|
||||
|
||||
file(GLOB_RECURSE OPENSPACE_TEST_FILES ${OPENSPACE_BASE_DIR}/tests/*.inl)
|
||||
@@ -260,6 +261,11 @@ function (handle_option_tests)
|
||||
set_property(TARGET OpenSpaceTest PROPERTY FOLDER "Unit Tests")
|
||||
endif (OPENSPACE_HAVE_TESTS)
|
||||
if (TARGET GhoulTest)
|
||||
if (NOT TARGET gtest)
|
||||
add_subdirectory(${OPENSPACE_EXT_DIR}/ghoul/ext/gtest)
|
||||
endif ()
|
||||
|
||||
set_property(TARGET gtest PROPERTY FOLDER "External")
|
||||
set_property(TARGET GhoulTest PROPERTY FOLDER "Unit Tests")
|
||||
endif ()
|
||||
endfunction ()
|
||||
|
||||
Reference in New Issue
Block a user