-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCMakeLists.txt
39 lines (31 loc) · 920 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
38
39
cmake_minimum_required(VERSION 3.1 FATAL_ERROR)
project(cpp-patterns CXX)
if(MSVC)
set(COMPILER_WARNINGS "/W3 /DNOMINMAX")
else()
set(COMPILER_WARNINGS "-Wall -Wextra -Wpedantic -Weffc++")
endif()
# Add documentation
add_subdirectory(doc)
# Add patterns
add_subdirectory(argument-count)
add_subdirectory(detection-idiom)
#add_subdirectory(device_matrix)
#add_subdirectory(eigen_cuda)
add_subdirectory(enable_if)
add_subdirectory(fileptrbuf)
add_subdirectory(integer_sequence)
if(NOT MSVC)
# MSVC immediately commits suicide when it sees those tempalates
add_subdirectory(multi_array)
endif()
#add_subdirectory(overloaded)
add_subdirectory(print_type)
#add_subdirectory(python_callback) # has no CMakeLists.txt
add_subdirectory(python_zmq_communication)
#add_subdirectory(swig_pickle)
add_subdirectory(tee)
add_subdirectory(unroll)
# Print found packages
include(FeatureSummary)
feature_summary(WHAT ALL)