adventofcode2021/day1/CMakeLists.txt
2021-12-01 19:58:41 +00:00

15 lines
352 B
CMake

cmake_minimum_required(VERSION 3.10)
# set the project name
project(d1p1)
# specify the C++ standard
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED True)
file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/input
DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
# add the executable
add_executable(d1p1 part1/main.cpp)
add_executable(d1p2 part2/main.cpp)