|
|
@@ -198,6 +198,7 @@ if (CMAKE_PROJECT_NAME STREQUAL Urho3D)
|
|
|
option (URHO3D_DATABASE_SQLITE "Enable Database support with SQLite embedded")
|
|
|
cmake_dependent_option (URHO3D_MINIDUMPS "Enable minidumps on crash (VS only)" TRUE "MSVC" FALSE)
|
|
|
option (URHO3D_FILEWATCHER "Enable filewatcher support" TRUE)
|
|
|
+ option (URHO3D_TESTING "Enable testing support")
|
|
|
if (CPACK_SYSTEM_NAME STREQUAL Linux)
|
|
|
cmake_dependent_option (URHO3D_USE_LIB64_RPM "Enable 64-bit RPM CPack generator using /usr/lib64 and disable all other generators (Debian-based host only)" FALSE "URHO3D_64BIT AND NOT HAS_LIB64" FALSE)
|
|
|
cmake_dependent_option (URHO3D_USE_LIB_DEB "Enable 64-bit DEB CPack generator using /usr/lib and disable all other generators (Redhat-based host only)" FALSE "URHO3D_64BIT AND HAS_LIB64" FALSE)
|
|
|
@@ -223,7 +224,6 @@ if (NOT WEB)
|
|
|
else ()
|
|
|
option (URHO3D_THREADING "Enable thread support, on Web platform default to 0, on other platforms default to 1" FALSE)
|
|
|
endif ()
|
|
|
-option (URHO3D_TESTING "Enable testing support")
|
|
|
if (URHO3D_TESTING)
|
|
|
if (WEB)
|
|
|
set (DEFAULT_TIMEOUT 10)
|
|
|
@@ -343,7 +343,6 @@ endif ()
|
|
|
# Enable testing
|
|
|
if (URHO3D_TESTING)
|
|
|
enable_testing ()
|
|
|
- add_definitions (-DURHO3D_TESTING)
|
|
|
endif ()
|
|
|
|
|
|
# Enable coverity scan modeling
|