commit 95c4d7caf9eac73f8323eecaf9e478539ca64c38
Author: Kornel Benko <[email protected]>
Date: Fri Sep 6 15:03:47 2013 +0200
Cmake build tests: Make the tests for valid urls available to public
These tests already proved being valuable.
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d84e05e..ccb4a6c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -96,6 +96,7 @@ LYX_OPTION(MERGE_REBUILD "Rebuild generated files from
merged files build" OF
LYX_OPTION(QUIET "Don't generate verbose makefiles" OFF ALL)
LYX_OPTION(INSTALL_PREFIX "Install path for LyX" OFF ALL)
LYX_OPTION(BUNDLE "Build bundle (experimental) " OFF ALL)
+LYX_OPTION(ENABLE_URLTESTS "Enable for URL tests" OFF ALL)
# GCC specific
LYX_OPTION(PROFILE "Build profile version" OFF GCC)
@@ -759,6 +760,9 @@ endif()
add_subdirectory(sourcedoc "${TOP_BINARY_DIR}/sourcedoc")
add_subdirectory(development/autotests "${TOP_BINARY_DIR}/autotests")
+if(LYX_ENABLE_URLTESTS)
+ add_subdirectory(development/checkurls "${TOP_BINARY_DIR}/checkurls")
+endif()
message(STATUS)
message(STATUS "Build options, switch LYX_* variables by -DLYX_*=ON or OFF:")