refactor: make list more generic
This commit is contained in:
@@ -1,12 +1,9 @@
|
||||
cmake_minimum_required(VERSION 3.20)
|
||||
project(advent_of_code_2023 C)
|
||||
|
||||
set(CMAKE_C_STANDARD 11)
|
||||
set(CMAKE_C_STANDARD 17)
|
||||
|
||||
add_executable(day_01 day_1.c
|
||||
input_handler.c
|
||||
input_handler.h)
|
||||
add_executable(day_02 day_2.c
|
||||
input_handler.c
|
||||
input_handler.h)
|
||||
add_executable(day_01 day_1.c input_handler.c)
|
||||
|
||||
add_executable(day_02 day_2.c input_handler.c)
|
||||
target_link_libraries(day_02 m)
|
||||
|
||||
Reference in New Issue
Block a user