diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2016-12-25 01:50:12 +0100 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2016-12-25 01:50:12 +0100 |
| commit | ef8699a4d40608d16e6dbfd978008c9894b8d4d0 (patch) | |
| tree | 06cc0b27b8835026e55e202ad302f77ed55b2ca7 /CMakeLists.txt | |
| parent | 2a323c549554cbe028efd92be55104460388c742 (diff) | |
| download | extfs-ef8699a4d40608d16e6dbfd978008c9894b8d4d0.tar.xz extfs-ef8699a4d40608d16e6dbfd978008c9894b8d4d0.zip | |
project: Add first unit test
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 6 |
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() |
