diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2025-08-23 15:16:04 +0200 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2025-08-27 11:44:07 +0200 |
| commit | 03b645f22bfc7afadc5a8aa6d59edf0eba74a048 (patch) | |
| tree | dda64286a408e104879be2544f9c7dc8aa8e333a /CMakeLists.txt | |
| parent | 6836db9b00d4f13a78a53cc5bdb0b63028188b55 (diff) | |
cleanup & json string simd parsing
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 4 insertions, 2 deletions
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) |
