-
Notifications
You must be signed in to change notification settings - Fork 7
/
CMakeLists.txt
45 lines (36 loc) · 1.63 KB
/
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
40
41
42
43
44
45
# see run_cmake.sh
#required parms are RANGE_INCLUDE path
project (rbe)
cmake_minimum_required(VERSION 2.8)
include_directories(${RANGE_INCLUDE})
#probably not required for most
add_definitions( -std=c++17 )
add_definitions( -Wall -Wextra -Werror ) # all on and fatal by default
add_definitions( -Wno-missing-braces ) # exclude those we disagree with
add_executable( 01_hello 01_hello.cpp )
add_executable( 02_foreach_sequence 02_foreach_sequence.cpp )
add_executable( 03_foreach_assoc 03_foreach_assoc.cpp )
add_executable( 04_foreach_string 04_foreach_string.cpp )
add_executable( 04_count 04_count.cpp )
add_executable( 05_count_if 05_count_if.cpp )
add_executable( 06_all_any_none 06_all_any_none.cpp )
add_executable( 10_is_sorted 10_is_sorted.cpp )
add_executable( 11_max_min 11_max_min.cpp ) #c++17
add_executable( 13_sort 13_sort.cpp )
add_executable( 15_find 15_find.cpp )
add_executable( 30_adjacent_find 30_adjacent_find.cpp )
add_executable( 31_binary_search 31_binary_search.cpp )
add_executable( 32_copy 32_copy.cpp )
add_executable( 33_fizzbuzz 33_fizzbuzz.cpp )
add_executable( 34_sparse_transpose 34_sparse_transpose.cpp )
add_executable( 34_copy_if 34_copy_if.cpp )
add_executable( 35_copy_unique 35_copy_unique.cpp )
add_executable( 40_set_algos 40_set_algos.cpp )
add_executable( 50_zip 50_zip.cpp ) #C++17
#disable for now -- see issue 2
#add_executable( 51_moving_average 51_moving_average.cpp )
add_executable( 60_drop 60_drop.cpp )
add_executable( 61_stride 61_stride.cpp )
add_executable( 62_even_odd_indicies 62_even_odd_indicies.cpp )
#fails on gcc7.1 pre-release just now
#add_executable( 70_neural_net 70_neural_net.cpp )