Skip to content
Snippets Groups Projects
Commit ba48c308 authored by Jean-Baptiste Keck's avatar Jean-Baptiste Keck
Browse files

Disabled google tests by default for c++, can be enabled with cmake variable...

Disabled google tests by default for c++, can be enabled with cmake variable 'GOOGLE_TEST' set to 'ON'.
parent e98fcb0c
No related branches found
No related tags found
No related merge requests found
......@@ -43,6 +43,7 @@ option(FULL_TEST "Enable all test options (pep8, mpi ...) - Default = OFF" OFF)
option(PROFILE "Enable profiling mode for HySoP. 0:disabled, 1: enabled. Default = 0" 0)
option(OPTIM "To allow python -OO run, some packages must be deactivated. Set this option to 'ON' to do so. Default = OFF" OFF)
option(WITH_MPI_TESTS "Enable mpi tests. Default = ON if USE_MPI is ON." ON)
option(WITH_GOOGLE_TESTS "Enable google tests (c++). Default = OFF." OFF)
if(NOT WITH_LIB_FORTRAN)
message(WARNING "You deactivate libhysop (fortran) generation. This will disable fftw and scales fonctionnalities.")
......@@ -234,7 +235,7 @@ if(WITH_LIB_CXX)
endforeach()
endif()
if(WITH_TESTS)
if(WITH_GOOGLE_TESTS)
add_subdirectory(${CXX_TEST_DIR})
endif()
endif()
......
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