Ver Fonte

Marking CIVETWEB_BUILD_TESTING ON by default

Jacob Repp há 7 anos atrás
pai
commit
a3db4903d0
1 ficheiros alterados com 4 adições e 0 exclusões
  1. 4 0
      CMakeLists.txt

+ 4 - 0
CMakeLists.txt

@@ -45,6 +45,10 @@ elseif(NOT LINUX AND ${CMAKE_SYSTEM_NAME} MATCHES "Linux")
     SET(LINUX YES)
     SET(LINUX YES)
 endif()
 endif()
 
 
+# CTest automation
+option(CIVETWEB_BUILD_TESTING "Enable automated testing of civetweb" ON)
+message(STATUS "Enabling tests in the build - ${CIVETWEB_BUILD_TESTING}")
+
 # C++ wrappers
 # C++ wrappers
 option(CIVETWEB_ENABLE_THIRD_PARTY_OUTPUT "Shows the output of third party dependency processing" OFF)
 option(CIVETWEB_ENABLE_THIRD_PARTY_OUTPUT "Shows the output of third party dependency processing" OFF)