diff --git a/CMakeLists.txt b/CMakeLists.txt index 0a858184f9c1c0d20160c014601c8fe3ae664fa8..59b9c5c9eb0578df0c1b895db3127151916de758 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,7 +9,7 @@ option(TESTS "tests generation" OFF) include("${CMAKE_CURRENT_LIST_DIR}/cmake/cotire.cmake") # For LINUX - GCC -add_compile_options(-Wall -Wextra -fPIC) +add_compile_options(-Wall -Wextra -fPIC -Wold-style-cast -Winline -pedantic -Werror=narrowing -Wshadow) if (PYBIND) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules") @@ -18,4 +18,4 @@ if (PYBIND) endif() add_subdirectory(${CMAKE_SOURCE_DIR}/aidge/_Core) -add_subdirectory(${CMAKE_SOURCE_DIR}/aidge/_CPU) \ No newline at end of file +add_subdirectory(${CMAKE_SOURCE_DIR}/aidge/_CPU)