This commit is contained in:
Hugo Mårdbrink 2023-12-03 11:56:21 +01:00
parent 69c7a97d6e
commit 896bebbc97
3 changed files with 160 additions and 4 deletions

View file

@ -6,16 +6,13 @@ set(CMAKE_CXX_STANDARD 23)
set(CMAKE_BINARY_DIR ${CMAKE_SOURCE_DIR}/build)
set(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR})
<<<<<<< HEAD
=======
set(CMAKE_BUILD_TYPE Release)
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3")
endif()
>>>>>>> ca595e1 (Day 1)
set(executables d1)
set(executables d1 d2)
foreach(executable ${executables})
add_executable(${executable} "${executable}/main.cxx")