Skip to content
Snippets Groups Projects
Commit 7b0947ed authored by Maxence Naud's avatar Maxence Naud
Browse files

Update CMakeList.txt with more warnings

parent 561b6aac
No related branches found
No related tags found
No related merge requests found
......@@ -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)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment