summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2016-12-25 01:50:12 +0100
committerFelix Morgner <felix.morgner@gmail.com>2016-12-25 01:50:12 +0100
commitef8699a4d40608d16e6dbfd978008c9894b8d4d0 (patch)
tree06cc0b27b8835026e55e202ad302f77ed55b2ca7 /CMakeLists.txt
parent2a323c549554cbe028efd92be55104460388c742 (diff)
downloadextfs-ef8699a4d40608d16e6dbfd978008c9894b8d4d0.tar.xz
extfs-ef8699a4d40608d16e6dbfd978008c9894b8d4d0.zip
project: Add first unit test
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 43bd0e4..8cfeafe 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -15,6 +15,12 @@ include("CompilerSetup")
include("ConanPackages")
option(EXTFS_BUILD_STATIC "Build extfs as a static library" ON)
+option(EXTFS_ENABLE_TESTS "Enable CUTE unit tests" ON)
include_directories("include")
add_subdirectory("src")
+
+if(${EXTFS_ENABLE_TESTS})
+ include("CUTE")
+ add_subdirectory("test")
+endif()