21 lines
443 B
CMake
21 lines
443 B
CMake
|
cmake_minimum_required(VERSION 3.13)
|
||
|
set(CMAKE_C_STANDARD 11)
|
||
|
set(CMAKE_CXX_STANDARD 20)
|
||
|
project(aocpp19
|
||
|
VERSION 1
|
||
|
LANGUAGES C CXX
|
||
|
)
|
||
|
|
||
|
add_subdirectory(lib)
|
||
|
|
||
|
add_executable(day02 day02.cpp)
|
||
|
target_link_libraries(day02 intcode)
|
||
|
|
||
|
add_executable(day05 day05.cpp)
|
||
|
target_link_libraries(day05 intcode)
|
||
|
|
||
|
add_executable(day07 day07.cpp)
|
||
|
target_link_libraries(day07 intcode)
|
||
|
|
||
|
add_executable(day09 day09.cpp)
|
||
|
target_link_libraries(day09 intcode)
|