aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBilly Donahue <BillyDonahue@users.noreply.github.com>2015-11-24 10:35:34 -0500
committerBilly Donahue <BillyDonahue@users.noreply.github.com>2015-11-24 10:35:34 -0500
commit884dd08d73d7174806256ea380158875aa418e78 (patch)
treeb22588741ed034e9abc965c7eea7888e22643c3c
parentc4c23548a19a4f8cb7115a89a304f26a7f135d44 (diff)
parent4a0b77ff7253a5aad78c6a798eefa1a7cb5da9c0 (diff)
downloadgoogletest-884dd08d73d7174806256ea380158875aa418e78.tar.gz
googletest-884dd08d73d7174806256ea380158875aa418e78.tar.bz2
googletest-884dd08d73d7174806256ea380158875aa418e78.zip
Merge pull request #628 from fjunqueira/patch-1
Adding CMakeLists.txt to the root dir
-rw-r--r--CMakeLists.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 00000000..8d2b552e
--- /dev/null
+++ b/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()