From 03b645f22bfc7afadc5a8aa6d59edf0eba74a048 Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Sat, 23 Aug 2025 15:16:04 +0200 Subject: cleanup & json string simd parsing --- CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index a5fd18e..1f2f8ee 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,10 +5,12 @@ set(CMAKE_C_STANDARD 17) file(GLOB SOURCES "src/*.c") file(GLOB TEST_SOURCES "test/*.c") +add_compile_options(-Wall -pedantic -Wextra -march=native) + add_executable(main main.c ${SOURCES}) target_link_libraries(main m) -target_compile_options(main PRIVATE -Wall -pedantic -Wextra) +target_compile_options(main PRIVATE) add_executable(test test.c ${SOURCES} ${TEST_SOURCES}) target_link_libraries(test m) -target_compile_options(test PRIVATE -Wall -pedantic -Wextra) +target_compile_options(test PRIVATE) -- cgit v1.3