summaryrefslogtreecommitdiffhomepage
path: root/contrib/gtest
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2024-03-07 23:59:51 +0100
committerAki <please@ignore.pl>2024-03-07 23:59:51 +0100
commit3f857bb284d3c8aa99bcd61980e0f0cab2dd8e19 (patch)
tree4a2724f89ce213b1834d5550229243cccfad9fb3 /contrib/gtest
parent1ef05b8b227194ec32ae49f0eaf3e483ef35bb6b (diff)
downloadstarshatter-3f857bb284d3c8aa99bcd61980e0f0cab2dd8e19.zip
starshatter-3f857bb284d3c8aa99bcd61980e0f0cab2dd8e19.tar.gz
starshatter-3f857bb284d3c8aa99bcd61980e0f0cab2dd8e19.tar.bz2
Added gtest to the project and a stub test for showcase
Diffstat (limited to 'contrib/gtest')
-rw-r--r--contrib/gtest/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/gtest/CMakeLists.txt b/contrib/gtest/CMakeLists.txt
new file mode 100644
index 0000000..657bacc
--- /dev/null
+++ b/contrib/gtest/CMakeLists.txt
@@ -0,0 +1,7 @@
+set(BUILD_GMOCK OFF CACHE INTERNAL "")
+set(INSTALL_GTEST OFF CACHE INTERNAL "")
+FetchContent_Declare(
+ GTest
+ URL https://github.com/google/googletest/archive/refs/tags/v1.13.0.tar.gz
+ URL_HASH SHA1=bfa4b5131b6eaac06962c251742c96aab3f7aa78
+ DOWNLOAD_EXTRACT_TIMESTAMP No)