-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCMakeLists.txt
22 lines (18 loc) · 1.06 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
cmake_minimum_required(VERSION 3.6)
project(ProjectEuler)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++11")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fopenmp")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3")
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wall -g")
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELEASE} ${CMAKE_CXX_FLAGS_DEBUG}")
add_executable(Problem_035 035_circular_primes.cpp MyLib_cpp.cpp)
add_executable(Problem_037 037_trunkable_primes.cpp MyLib_cpp.cpp)
add_executable(Problem_038 038_pandigital_multiples.cpp MyLib_cpp.cpp)
add_executable(Problem_047 047_distinct_primes_factors.cpp MyLib_cpp.cpp)
add_executable(Problem_052 052_permuted_multiples.cpp MyLib_cpp.cpp)
add_executable(Problem_058 058_spiral_primes.cpp MyLib_cpp.cpp)
add_executable(Problem_060 060_prime_pair_sets.cpp MyLib_cpp.cpp)
add_executable(Problem_081 081_path_sum_two_ways.cpp)
add_executable(Problem_082 082_path_sum_three_ways.cpp)
add_executable(Problem_083 083_path_sum_four_ways.cpp)
add_executable(Problem_243 243_resilience.cpp MyLib_cpp.cpp)