Day 1
This commit is contained in:
commit
4ea258eb1f
6 changed files with 1111 additions and 0 deletions
19
CMakeLists.txt
Normal file
19
CMakeLists.txt
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
cmake_minimum_required(VERSION 3.21)
|
||||
project(aoc23 LANGUAGES CXX)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 23)
|
||||
|
||||
set(CMAKE_BINARY_DIR ${CMAKE_SOURCE_DIR}/build)
|
||||
set(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR})
|
||||
|
||||
set(executables d1)
|
||||
|
||||
foreach(executable ${executables})
|
||||
add_executable(${executable} "${executable}/main.cxx")
|
||||
endforeach()
|
||||
|
||||
set(CMAKE_CXX_CLANG_TIDY
|
||||
clang-tidy;
|
||||
-checks=*;
|
||||
-header-filter=.*;
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue