schlechter Anfang

This commit is contained in:
Cedric
2025-10-04 01:46:19 +02:00
parent a79212b525
commit 3693e47357
9 changed files with 95796 additions and 4 deletions

View File

@@ -14,15 +14,34 @@ set(CMAKE_CXX_STANDARD 17)
set(CMAKE_BUILD_TYPE Debug)
#set(CMAKE_BUILD_TYPE Release)
add_compile_options(-fsanitize=address)
add_link_options(-fsanitize=address)
add_compile_options(-ldl)
add_link_options(-ldl)
add_compile_options(-lpthread)
add_link_options(-lpthread)
add_compile_options(-lm)
add_link_options(-lm)
add_compile_options(-mavx2)
add_link_options(-mavx2)
add_compile_options(-msse2)
add_link_options(-msse2)
# Füge Includeverzeichnisse hinzu
include_directories(include)
# Legt die Variable SRC_FILES an, die alle
# .cpp-Dateien des Projekts benennt,
# die in Verzeichnis src/ liegen.
file(GLOB SRC_FILES
${PROJECT_SOURCE_DIR}/src/*.cpp)
${PROJECT_SOURCE_DIR}/src/*)
# Use CMakes FetchContent
# Workaround for CMake >= 3.24
@@ -32,4 +51,4 @@ if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.24.0")
endif()
add_executable(erstertest src/main.cpp ${SRC_FILES})
add_executable(${PROJECT_NAME} src/main.cpp ${SRC_FILES})