Repository cleanup & README.md. (#5)

This commit is contained in:
Skyth (Asilkan)
2025-02-27 00:11:11 +03:00
committed by GitHub
parent cd6fcb33bd
commit 04e716178b
24 changed files with 340 additions and 268 deletions

View File

@@ -1,13 +1,20 @@
project("XenonTests")
add_compile_options(
"-march=x86-64-v3"
"-Wno-unused-label"
"-Wno-unused-variable")
file(GLOB TEST_FILES *.cpp)
file(GLOB TestFiles *.cpp)
if(TestFiles)
add_executable(XenonTests ${TestFiles})
target_link_libraries(XenonTests PUBLIC XenonUtils)
if(TEST_FILES)
add_executable(XenonTests
${TEST_FILES}
)
target_link_libraries(XenonTests
PUBLIC
XenonUtils
fmt::fmt
)
target_compile_options(XenonTests
PRIVATE
"-march=sandybridge"
"-Wno-unused-label"
"-Wno-unused-variable"
)
endif()