diff options
Diffstat (limited to '3rdparty/googletest/CMakeLists.txt')
-rw-r--r-- | 3rdparty/googletest/CMakeLists.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/3rdparty/googletest/CMakeLists.txt b/3rdparty/googletest/CMakeLists.txt new file mode 100644 index 00000000000..8d2b552ef7a --- /dev/null +++ b/3rdparty/googletest/CMakeLists.txt @@ -0,0 +1,16 @@ +cmake_minimum_required(VERSION 2.6.2) + +project( googletest-distribution ) + +enable_testing() + +option(BUILD_GTEST "Builds the googletest subproject" OFF) + +#Note that googlemock target already builds googletest +option(BUILD_GMOCK "Builds the googlemock subproject" ON) + +if(BUILD_GMOCK) + add_subdirectory( googlemock ) +elseif(BUILD_GTEST) + add_subdirectory( googletest ) +endif() |