diff --git a/CMakeLists.txt b/CMakeLists.txt index d48726b..ea4c4ea 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,9 +1,15 @@ -cmake_minimum_required(VERSION 3.21) +cmake_minimum_required(VERSION 3.16) project(parg C) include(CTest) +if(MSVC) + add_compile_options(/W3) +else() + add_compile_options(-Wall -Wextra -pedantic) +endif() + add_library(parg parg.c parg.h) target_include_directories(parg PUBLIC $)