Skip to content

Commit a1a7903

Browse files
Stefan BuschmannJan Ole Vollmer
authored andcommitted
Put gmock and gtest into IDE folder
# Conflicts: # source/tests/googletest/googlemock/CMakeLists.txt
1 parent 472337d commit a1a7903

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

source/tests/googletest/googlemock/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,9 @@ cxx_library(gmock_main
9999
src/gmock-all.cc
100100
src/gmock_main.cc)
101101

102+
set_target_properties(gmock_main PROPERTIES FOLDER "Tests")
103+
set_target_properties(gmock PROPERTIES FOLDER "Tests")
104+
102105
# If the CMake version supports it, attach header directory information
103106
# to the targets for when we are part of a parent build (ie being pulled
104107
# in via add_subdirectory() rather than being a standalone build).

source/tests/googletest/googletest/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,8 @@ endif()
100100
cxx_library(gtest "${cxx_strict}" src/gtest-all.cc)
101101
cxx_library(gtest_main "${cxx_strict}" src/gtest_main.cc)
102102
target_link_libraries(gtest_main gtest)
103+
set_target_properties(gtest_main PROPERTIES FOLDER "Tests")
104+
set_target_properties(gtest PROPERTIES FOLDER "Tests")
103105

104106
# If the CMake version supports it, attach header directory information
105107
# to the targets for when we are part of a parent build (ie being pulled

0 commit comments

Comments
 (0)