Skip to content
Snippets Groups Projects
Commit 602587d9 authored by Jonathan Lambrechts's avatar Jonathan Lambrechts
Browse files

cmake (gmsh) : add an option to disable ctest (so that I can use ctest

in dg and still include gmsh CMakeList.txt)
parent 235105b2
Branches
Tags
No related merge requests found
...@@ -1760,6 +1760,8 @@ endif(ENABLE_WRAP_JAVA) ...@@ -1760,6 +1760,8 @@ endif(ENABLE_WRAP_JAVA)
include(CPack) include(CPack)
if(NOT DISABLE_GMSH_TESTS)
#disabling tests is usefull when including this CMakeLists in an external project
include(CTest) include(CTest)
file(GLOB_RECURSE TESTFILES file(GLOB_RECURSE TESTFILES
tutorial/*.geo demos/*.geo benchmarks/?d/*.geo benchmarks/extrude/*.geo) tutorial/*.geo demos/*.geo benchmarks/?d/*.geo benchmarks/extrude/*.geo)
...@@ -1778,6 +1780,7 @@ endforeach() ...@@ -1778,6 +1780,7 @@ endforeach()
# # sys.path.insert(0, "path/to/your/package") # # sys.path.insert(0, "path/to/your/package")
# endforeach() # endforeach()
# endif(HAVE_PYTHON) # endif(HAVE_PYTHON)
endif(NOT DISABLE_GMSH_TESTS)
message(STATUS "") message(STATUS "")
message(STATUS "Gmsh ${GMSH_VERSION} has been configured for ${GMSH_OS}") message(STATUS "Gmsh ${GMSH_VERSION} has been configured for ${GMSH_OS}")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment