10 lines
258 B
CMake
10 lines
258 B
CMake
|
cmake_minimum_required(VERSION 3.0)
|
||
|
|
||
|
project(aoc2019 LANGUAGES C)
|
||
|
set(DAY 3)
|
||
|
set(PART 2)
|
||
|
|
||
|
add_executable(aoc2019 days/${DAY}/${PART}/main.c)
|
||
|
#target_link_libraries(aoc2019 m) # If math.h is required, use this
|
||
|
install(TARGETS aoc2019 RUNTIME DESTINATION bin)
|