move static numpy functions to another header

- use env variables
- change warnings back to ON
This commit is contained in:
Bechir Braham
2024-03-11 14:58:44 +01:00
parent 5173f26bf8
commit 25d282717c
7 changed files with 167 additions and 149 deletions

View File

@ -17,7 +17,7 @@ include(FetchContent)
include(cmake/helpers.cmake)
default_build_type("Release")
option(AARE_USE_WARNINGS "Eable warnings" OFF)
option(AARE_USE_WARNINGS "Eable warnings" ON)
option(AARE_PYTHON_BINDINGS "Build python bindings" ON)
option(AARE_TESTS "Build tests" ON)
option(AARE_EXAMPLES "Build examples" ON)
@ -86,4 +86,6 @@ target_link_libraries(example PUBLIC aare)
if(AARE_PYTHON_BINDINGS)
add_subdirectory(python)
endif()
endif()
set(ENV{PROJECT_ROOT_DIR} ${PROJECT_SOURCE_DIR})