finish day 1
This commit is contained in:
13
CMakeLists.txt
Normal file
13
CMakeLists.txt
Normal file
@@ -0,0 +1,13 @@
|
||||
cmake_minimum_required(VERSION 4.0)
|
||||
project(cpp)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 23)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fexperimental-library")
|
||||
|
||||
add_library(cpp STATIC
|
||||
doctest.h
|
||||
run_tests.cpp
|
||||
day1.cpp)
|
||||
|
||||
add_executable(cpp_tests run_tests.cpp)
|
||||
target_link_libraries(cpp_tests PRIVATE cpp)
|
||||
Reference in New Issue
Block a user