-
Notifications
You must be signed in to change notification settings - Fork 1
/
CMakeLists.txt
38 lines (33 loc) · 1.26 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
cmake_minimum_required(VERSION 3.5.1)
project(advent_of_code)
set(CMAKE_CXX_STANDARD 17)
add_executable(day01 src/day01/day1.cpp)
add_executable(day02 src/day02/day2.cpp)
add_executable(day03 src/day03/day3.cpp)
add_executable(day04 src/day04/day4.cpp)
add_executable(day05 src/day05/day5.cpp)
add_executable(day06 src/day06/day6.cpp)
add_executable(day07 src/day07/day7.cpp)
add_executable(day08 src/day08/day8.cpp)
add_executable(day09 src/day09/day9.cpp)
add_executable(day10 src/day10/day10.cpp)
add_executable(day11 src/day11/day11.cpp)
add_executable(day12 src/day12/day12.cpp)
add_executable(day13 src/day13/day13.cpp)
add_executable(day14 src/day14/day14.cpp)
add_executable(day15 src/day15/day15.cpp)
add_executable(day16 src/day16/day16.cpp)
add_executable(day17 src/day17/day17.cpp)
add_executable(day18 src/day18/day18.cpp)
add_executable(day19 src/day19/day19.cpp)
add_executable(day20 src/day20/day20.cpp)
add_executable(day21 src/day21/day21.cpp)
add_executable(day22 src/day22/day22.cpp)
add_executable(day23 src/day23/day23.cpp)
add_executable(day24 src/day24/day24.cpp)
add_executable(day25 src/day25/day25.cpp)
include_directories(src/util)
find_package(OpenMP)
if (OPENMP_FOUND)
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}")
endif()