forked from eranpeer/FakeIt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
23 lines (17 loc) · 830 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# ARCH_INDEPENDENT option at write_basic_package_version_file requires 3.14 version of CMake.
cmake_minimum_required(VERSION 3.14)
project(FakeIt VERSION 2.4.0 LANGUAGES CXX)
option(ENABLE_TESTING "Enable build of tests." OFF)
option(OVERRIDE_CXX_STANDARD_FOR_TESTS "Override the C++ standard used for building tests." "")
option(ENABLE_SANITIZERS_IN_TESTS "Enable address / undefined sanitizers in tests." OFF)
option(ENABLE_COVERAGE "Enable coverage reporting for gcc/clang." OFF)
# Directory containing main targets of FakeIt.
add_subdirectory(include)
# Directory containing config targets of FakeIt.
add_subdirectory(config)
if(ENABLE_TESTING)
# Directory containing test targets of FakeIt.
add_subdirectory(tests)
endif()
# Directory containing single header targets of FakeIt.
add_subdirectory(single_header)