Website Summary Files Commits Branches @commit @diff @stats
path: root / CMakeLists.txt
diff options
context:
space:
mode:
Commit57cfd68270464f6bbc52f12791947e4622449417 (patch)
Author
 Dimitar Trendafilov <dimitar@coherent-labs.com>
2018-10-28 17:17:31 +0200
Committer
 Dimitar Trendafilov <dimitar@coherent-labs.com>
2018-10-28 17:17:31 +0200
Filesb3d198082be63f1de097a2ab503aeb51db019706 /CMakeLists.txt
IPL-57cfd68270464f6bbc52f12791947e4622449417.tar
IPL-57cfd68270464f6bbc52f12791947e4622449417.tar.gz
IPL-57cfd68270464f6bbc52f12791947e4622449417.zip
Squashed 'JSImpl/test/googletest/' content from commit 2fe3bd9
git-subtree-dir: JSImpl/test/googletest git-subtree-split: 2fe3bd994b3189899d93f1d5a881e725e046fdc2
1 files changed, 23 insertions, 0 deletions
-rw-r--r--CMakeLists.txt23
diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 0000000..d773211
--- /dev/null
+++ b/CMakeLists.txt
@@ -0,0 +1,23 @@
+cmake_minimum_required(VERSION 2.8.8)
+
+if (POLICY CMP0048)
+ cmake_policy(SET CMP0048 NEW)
+endif (POLICY CMP0048)
+
+project(googletest-distribution)
+set(GOOGLETEST_VERSION 1.9.0)
+
+enable_testing()
+
+include(CMakeDependentOption)
+include(GNUInstallDirs)
+
+#Note that googlemock target already builds googletest
+option(BUILD_GMOCK "Builds the googlemock subproject" ON)
+option(INSTALL_GTEST "Enable installation of googletest. (Projects embedding googletest may want to turn this OFF.)" ON)
+
+if(BUILD_GMOCK)
+ add_subdirectory( googlemock )
+else()
+ add_subdirectory( googletest )
+endif()