-
Notifications
You must be signed in to change notification settings - Fork 8
/
CMakeLists.txt
37 lines (34 loc) · 906 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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
cmake_minimum_required(VERSION 3.12)
project(cpp-refactoring-for-testability)
set(CMAKE_CXX_STANDARD 20)
add_compile_options(
-Wcast-align
-Wpedantic
-Wcast-qual
-Wconversion
-Wctor-dtor-privacy
-Wnon-virtual-dtor
-Wmissing-include-dirs
-Wdisabled-optimization
-Winit-self
-Wnon-virtual-dtor
-Wold-style-cast
-Woverloaded-virtual
-Wparentheses
-Wredundant-decls
-Wshadow
-Wsign-promo
-Wstrict-aliasing
-Wall
-Wextra
-Werror
)
add_subdirectory(010-files)
add_subdirectory(020-hardcoded_dependencies)
add_subdirectory(030-third_party)
add_subdirectory(040-new_operators)
add_subdirectory(050-time)
add_subdirectory(060-law_of_demeter)
add_subdirectory(070-domain_dependent_on_application)
add_subdirectory(080-singletons)
add_subdirectory(test)