aoc24: day03 tokenizer
This commit is contained in:
15
sol/24/02/CMakeLists.txt
Normal file
15
sol/24/02/CMakeLists.txt
Normal file
@@ -0,0 +1,15 @@
|
||||
set(HEADERS "")
|
||||
set(SOURCES entry.cpp)
|
||||
add_executable(sol2402 ${HEADERS} ${SOURCES})
|
||||
target_include_directories(sol2402 PRIVATE ${PROJECT_SOURCE_DIR})
|
||||
target_compile_features(sol2402 PRIVATE cxx_std_23)
|
||||
target_compile_options(sol2402 PRIVATE ${BASE_OPTIONS})
|
||||
target_compile_definitions(sol2402 PRIVATE ${BASE_DEFINITIONS})
|
||||
target_link_libraries(sol2402
|
||||
PRIVATE
|
||||
aoc
|
||||
)
|
||||
set_target_properties(sol2402 PROPERTIES
|
||||
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}"
|
||||
)
|
||||
source_group(TREE "${CMAKE_CURRENT_LIST_DIR}" FILES ${HEADERS} ${SOURCES})
|
||||
7
sol/24/02/entry.cpp
Normal file
7
sol/24/02/entry.cpp
Normal file
@@ -0,0 +1,7 @@
|
||||
#include "aoc/aoc.hpp"
|
||||
#include "fmt/format.h"
|
||||
|
||||
auto aoc::entry([[maybe_unused]]std::vector<std::string_view> const& args) -> void {
|
||||
fmt::print("Hello, World!\n");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user