From 771ece92d3bad54555665a4ea663fc91224a6de9 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Tue, 13 Feb 2024 11:33:09 -0500 Subject: Set compiler flags specific compilers --- src/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 90219ac..4b0d99a 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,7 +1,7 @@ include_directories(${CMAKE_BINARY_DIR}/include) include_directories(${CMAKE_SOURCE_DIR}/include) include_directories(${PROJECT_BINARY_DIR}) -add_compile_options(-Wall -Wextra -Wno-format-truncation) + add_executable(omc main.c str.c @@ -21,4 +21,4 @@ add_executable(omc template.c rules.c ) -install(TARGETS omc RUNTIME) \ No newline at end of file +install(TARGETS omc RUNTIME) -- cgit