diff Resources/CMake/GoogleTestConfiguration.cmake @ 2113:0108ac01fc8e

added source_group directives for MSVC
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 27 Oct 2016 11:43:28 +0200
parents fbf763bb1fa3
children cfaf2bea096e
line wrap: on
line diff
--- a/Resources/CMake/GoogleTestConfiguration.cmake	Thu Oct 27 11:32:38 2016 +0200
+++ b/Resources/CMake/GoogleTestConfiguration.cmake	Thu Oct 27 11:43:28 2016 +0200
@@ -28,6 +28,8 @@
     add_definitions(/D _VARIADIC_MAX=10)
   endif()
 
+  source_group(ThirdParty\\GoogleTest REGULAR_EXPRESSION ${GTEST_SOURCES_DIR}/.*)
+
 else()
   include(FindGTest)
   if (NOT GTEST_FOUND)