2008-12-04 21:27:48 +03:00
|
|
|
cmake_minimum_required(VERSION 2.6)
|
|
|
|
project(ExternalProjectTest NONE)
|
|
|
|
|
2009-06-24 23:03:26 +04:00
|
|
|
include(ExternalProject)
|
2008-12-04 21:27:48 +03:00
|
|
|
|
2009-06-26 17:55:35 +04:00
|
|
|
find_package(CVS)
|
|
|
|
find_package(Subversion)
|
|
|
|
|
2009-06-24 23:03:26 +04:00
|
|
|
set(base "${CMAKE_BINARY_DIR}/CMakeExternals")
|
|
|
|
set(binary_base "${base}/Build")
|
|
|
|
set_property(DIRECTORY PROPERTY EP_BASE ${base})
|
2008-12-04 21:27:48 +03:00
|
|
|
|
2008-12-11 23:55:46 +03:00
|
|
|
if(NOT DEFINED can_build_tutorial_step5)
|
|
|
|
set(can_build_tutorial_step5 1)
|
|
|
|
|
|
|
|
# Tutorial Step5 cannot build correctly using Visual Studio 6
|
|
|
|
# on Windows 98 if the path of its build tree exceeds 72
|
|
|
|
# characters in length... So don't attempt to build it
|
|
|
|
# in a long path on Win98:
|
|
|
|
#
|
|
|
|
if(CMAKE_SYSTEM STREQUAL "Windows-4.10")
|
2009-06-24 23:03:26 +04:00
|
|
|
string(LENGTH "${binary_base}/TutorialStep5-Local" n)
|
2008-12-11 23:55:46 +03:00
|
|
|
if(n GREATER 72)
|
|
|
|
set(can_build_tutorial_step5 0)
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
|
|
|
|
message(STATUS "can_build_tutorial_step5='${can_build_tutorial_step5}'")
|
2008-12-04 23:30:37 +03:00
|
|
|
|
|
|
|
|
2009-06-24 23:03:26 +04:00
|
|
|
# Empty projects that test all the known ep_add argument key words:
|
2008-12-05 23:18:32 +03:00
|
|
|
#
|
|
|
|
set(proj MinimalNoOpProject)
|
2009-06-24 23:03:26 +04:00
|
|
|
ep_add(${proj}
|
2008-12-05 23:18:32 +03:00
|
|
|
BUILD_COMMAND ""
|
|
|
|
CONFIGURE_COMMAND ""
|
|
|
|
DOWNLOAD_COMMAND ""
|
|
|
|
INSTALL_COMMAND ""
|
|
|
|
)
|
|
|
|
|
|
|
|
set(proj EmptyNoOpProject)
|
2009-06-24 23:03:26 +04:00
|
|
|
ep_add(${proj}
|
2008-12-05 23:18:32 +03:00
|
|
|
BUILD_COMMAND ""
|
2009-03-18 18:00:30 +03:00
|
|
|
CMAKE_ARGS ""
|
2008-12-05 23:18:32 +03:00
|
|
|
CONFIGURE_COMMAND ""
|
|
|
|
CVS_REPOSITORY ""
|
|
|
|
CVS_MODULE ""
|
|
|
|
CVS_TAG ""
|
|
|
|
DEPENDS "MinimalNoOpProject"
|
|
|
|
DOWNLOAD_COMMAND ""
|
|
|
|
INSTALL_COMMAND ""
|
2009-03-18 18:01:02 +03:00
|
|
|
PATCH_COMMAND ""
|
2008-12-05 23:18:32 +03:00
|
|
|
SVN_REPOSITORY ""
|
|
|
|
SVN_TAG ""
|
2009-06-24 23:03:26 +04:00
|
|
|
URL ""
|
2008-12-24 18:10:40 +03:00
|
|
|
UPDATE_COMMAND ""
|
2008-12-05 23:18:32 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
|
2008-12-04 21:27:48 +03:00
|
|
|
# Local DIR:
|
|
|
|
#
|
2008-12-11 23:55:46 +03:00
|
|
|
if(can_build_tutorial_step5)
|
|
|
|
set(proj TutorialStep5-Local)
|
2009-06-24 23:03:26 +04:00
|
|
|
ep_add(${proj}
|
|
|
|
URL "${CMAKE_CURRENT_SOURCE_DIR}/../Tutorial/Step5"
|
|
|
|
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=<INSTALL_DIR> -G ${CMAKE_GENERATOR} <SOURCE_DIR>
|
2008-12-11 23:55:46 +03:00
|
|
|
)
|
2009-06-24 23:03:26 +04:00
|
|
|
ep_get(${proj} install_dir)
|
|
|
|
set(TutorialStep5_install_dir ${install_dir})
|
2008-12-11 23:55:46 +03:00
|
|
|
endif()
|
2008-12-04 21:27:48 +03:00
|
|
|
|
|
|
|
|
|
|
|
# Local TAR:
|
|
|
|
#
|
|
|
|
set(proj TutorialStep1-LocalTAR)
|
2009-06-24 23:03:26 +04:00
|
|
|
ep_add(${proj}
|
|
|
|
URL "${CMAKE_CURRENT_SOURCE_DIR}/Step1.tar"
|
2009-04-09 21:56:08 +04:00
|
|
|
LIST_SEPARATOR ::
|
2009-03-18 18:01:02 +03:00
|
|
|
PATCH_COMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_SOURCE_DIR}/Step1Patch.cmake
|
2009-03-04 19:45:42 +03:00
|
|
|
CMAKE_GENERATOR "${CMAKE_GENERATOR}"
|
2009-06-24 23:03:26 +04:00
|
|
|
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=<INSTALL_DIR>
|
2009-04-09 21:56:08 +04:00
|
|
|
-DTEST_LIST:STRING=A::B::C
|
2008-12-04 21:27:48 +03:00
|
|
|
INSTALL_COMMAND ""
|
|
|
|
)
|
|
|
|
|
|
|
|
set(proj TutorialStep1-LocalNoDirTAR)
|
2009-06-24 23:03:26 +04:00
|
|
|
ep_add(${proj}
|
|
|
|
URL "${CMAKE_CURRENT_SOURCE_DIR}/Step1NoDir.tar"
|
2009-04-09 21:56:08 +04:00
|
|
|
LIST_SEPARATOR @@
|
2009-06-24 23:03:26 +04:00
|
|
|
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=<INSTALL_DIR> -G ${CMAKE_GENERATOR} <SOURCE_DIR>
|
2009-04-09 21:56:08 +04:00
|
|
|
-DTEST_LIST:STRING=1@@2@@3
|
2008-12-04 21:27:48 +03:00
|
|
|
INSTALL_COMMAND ""
|
|
|
|
)
|
2009-06-24 23:03:26 +04:00
|
|
|
ep_add_step(${proj} mypatch
|
2009-03-30 19:36:32 +04:00
|
|
|
COMMAND ${CMAKE_COMMAND} -E echo "This is a custom external project step."
|
|
|
|
COMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_SOURCE_DIR}/Step1Patch.cmake
|
2009-06-24 23:03:26 +04:00
|
|
|
WORKING_DIRECTORY <SOURCE_DIR>
|
2009-03-30 19:36:32 +04:00
|
|
|
DEPENDEES download
|
|
|
|
DEPENDERS configure
|
|
|
|
)
|
2008-12-04 21:27:48 +03:00
|
|
|
|
|
|
|
|
|
|
|
# Local TGZ:
|
|
|
|
#
|
|
|
|
set(proj TutorialStep1-LocalTGZ)
|
2009-06-24 23:03:26 +04:00
|
|
|
ep_add(${proj}
|
|
|
|
URL "${CMAKE_CURRENT_SOURCE_DIR}/Step1.tgz"
|
|
|
|
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=<INSTALL_DIR> -G ${CMAKE_GENERATOR} <SOURCE_DIR>
|
2008-12-04 21:27:48 +03:00
|
|
|
INSTALL_COMMAND ""
|
|
|
|
)
|
|
|
|
|
|
|
|
set(proj TutorialStep1-LocalNoDirTGZ)
|
2009-06-24 23:03:26 +04:00
|
|
|
ep_add(${proj}
|
|
|
|
URL "${CMAKE_CURRENT_SOURCE_DIR}/Step1NoDir.tgz"
|
2009-03-04 19:45:42 +03:00
|
|
|
CMAKE_GENERATOR "${CMAKE_GENERATOR}"
|
2009-06-24 23:03:26 +04:00
|
|
|
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=<INSTALL_DIR>
|
2008-12-04 21:27:48 +03:00
|
|
|
INSTALL_COMMAND ""
|
|
|
|
)
|
|
|
|
|
|
|
|
|
2009-06-29 18:46:45 +04:00
|
|
|
set(do_cvs_tests 0)
|
|
|
|
|
2009-06-26 17:55:35 +04:00
|
|
|
if(CVS_EXECUTABLE)
|
2009-06-29 18:46:45 +04:00
|
|
|
set(do_cvs_tests 1)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if(do_cvs_tests AND NOT UNIX)
|
|
|
|
if("${CVS_EXECUTABLE}" MATCHES "cygwin")
|
|
|
|
message(STATUS "No ExternalProject cvs tests with cygwin cvs.exe outside cygwin!")
|
|
|
|
set(do_cvs_tests 0)
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if(do_cvs_tests)
|
2009-06-26 19:32:04 +04:00
|
|
|
# Unzip/untar the CVS repository in our source folder so that other
|
|
|
|
# projects below may use it to test CVS args of ep_add
|
|
|
|
#
|
|
|
|
set(proj SetupLocalCVSRepository)
|
|
|
|
set(local_cvs_repo "${CMAKE_CURRENT_BINARY_DIR}/LocalRepositories/CVS")
|
|
|
|
ep_add(${proj}
|
|
|
|
SOURCE_DIR ${local_cvs_repo}
|
|
|
|
URL ${CMAKE_CURRENT_SOURCE_DIR}/cvsrepo.tgz
|
|
|
|
BUILD_COMMAND ""
|
|
|
|
CONFIGURE_COMMAND ${CVS_EXECUTABLE} --version
|
|
|
|
INSTALL_COMMAND ""
|
|
|
|
)
|
|
|
|
|
2008-12-04 21:27:48 +03:00
|
|
|
# CVS by date stamp:
|
|
|
|
#
|
2009-06-26 21:00:39 +04:00
|
|
|
set(proj TutorialStep1-CVS-20090626)
|
2009-06-24 23:03:26 +04:00
|
|
|
ep_add(${proj}
|
2009-06-26 17:55:35 +04:00
|
|
|
CVS_REPOSITORY "${local_cvs_repo}"
|
|
|
|
CVS_MODULE "TutorialStep1"
|
2009-06-26 21:00:39 +04:00
|
|
|
CVS_TAG "-D2009-06-26 16:50:00 UTC"
|
|
|
|
UPDATE_COMMAND ""
|
2009-03-04 19:45:42 +03:00
|
|
|
CMAKE_GENERATOR "${CMAKE_GENERATOR}"
|
2009-06-24 23:03:26 +04:00
|
|
|
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=<INSTALL_DIR>
|
2008-12-05 23:18:32 +03:00
|
|
|
INSTALL_COMMAND ""
|
2009-06-26 17:55:35 +04:00
|
|
|
DEPENDS "SetupLocalCVSRepository"
|
2008-12-04 21:27:48 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
# CVS by tag:
|
|
|
|
#
|
2009-06-26 17:55:35 +04:00
|
|
|
set(proj TutorialStep1-CVS-testtag1)
|
2009-06-24 23:03:26 +04:00
|
|
|
ep_add(${proj}
|
2009-06-26 17:55:35 +04:00
|
|
|
CVS_REPOSITORY "${local_cvs_repo}"
|
|
|
|
CVS_MODULE "TutorialStep1"
|
|
|
|
CVS_TAG -rtesttag1
|
2009-06-26 21:00:39 +04:00
|
|
|
UPDATE_COMMAND ""
|
2009-03-04 19:45:42 +03:00
|
|
|
CMAKE_GENERATOR "${CMAKE_GENERATOR}"
|
2009-06-24 23:03:26 +04:00
|
|
|
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=<INSTALL_DIR>
|
2008-12-04 21:27:48 +03:00
|
|
|
INSTALL_COMMAND ""
|
2009-06-26 17:55:35 +04:00
|
|
|
DEPENDS "SetupLocalCVSRepository"
|
2008-12-04 21:27:48 +03:00
|
|
|
)
|
|
|
|
|
2009-06-26 17:55:35 +04:00
|
|
|
# Live CVS / HEAD (no CVS_TAG):
|
|
|
|
#
|
|
|
|
set(proj TutorialStep1-CVS-HEAD)
|
|
|
|
ep_add(${proj}
|
|
|
|
CVS_REPOSITORY "${local_cvs_repo}"
|
|
|
|
CVS_MODULE "TutorialStep1"
|
|
|
|
CMAKE_GENERATOR "${CMAKE_GENERATOR}"
|
|
|
|
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=<INSTALL_DIR>
|
|
|
|
INSTALL_COMMAND ""
|
|
|
|
DEPENDS "SetupLocalCVSRepository"
|
|
|
|
DEPENDS "EmptyNoOpProject"
|
|
|
|
DEPENDS "TutorialStep1-LocalTAR"
|
|
|
|
DEPENDS "TutorialStep1-LocalNoDirTAR"
|
|
|
|
DEPENDS "TutorialStep1-LocalTGZ"
|
|
|
|
DEPENDS "TutorialStep1-LocalNoDirTGZ"
|
2009-06-26 21:00:39 +04:00
|
|
|
DEPENDS "TutorialStep1-CVS-20090626"
|
2009-06-26 17:55:35 +04:00
|
|
|
DEPENDS "TutorialStep1-CVS-testtag1"
|
|
|
|
)
|
2008-12-04 21:27:48 +03:00
|
|
|
endif()
|
|
|
|
|
|
|
|
|
2009-06-29 18:46:45 +04:00
|
|
|
set(do_svn_tests 0)
|
|
|
|
|
2009-06-26 17:55:35 +04:00
|
|
|
if(Subversion_SVN_EXECUTABLE)
|
2009-06-29 18:46:45 +04:00
|
|
|
set(do_svn_tests 1)
|
|
|
|
endif()
|
|
|
|
|
2009-07-01 21:48:38 +04:00
|
|
|
# Only do svn tests with svn >= version 1.2
|
|
|
|
#
|
|
|
|
if(do_svn_tests)
|
|
|
|
execute_process(COMMAND ${Subversion_SVN_EXECUTABLE} --version
|
|
|
|
OUTPUT_VARIABLE Subversion_VERSION_SVN
|
|
|
|
OUTPUT_STRIP_TRAILING_WHITESPACE)
|
|
|
|
string(REGEX REPLACE "^(.*\n)?svn, version ([.0-9]+).*"
|
|
|
|
"\\2" Subversion_VERSION_SVN "${Subversion_VERSION_SVN}")
|
|
|
|
message(STATUS "Subversion_VERSION_SVN='${Subversion_VERSION_SVN}'")
|
|
|
|
|
|
|
|
if(Subversion_VERSION_SVN VERSION_LESS 1.2)
|
|
|
|
message(STATUS "No ExternalProject svn tests with svn client less than version 1.2")
|
|
|
|
set(do_svn_tests 0)
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
|
|
|
|
# Only do svn tests in cygwin/cygwin or not-cygwin/not-cygwin arrangements:
|
|
|
|
#
|
|
|
|
if(do_svn_tests)
|
|
|
|
if(CMAKE_CURRENT_BINARY_DIR MATCHES "cygdrive/" AND
|
|
|
|
NOT "${Subversion_SVN_EXECUTABLE}" MATCHES "cygwin")
|
|
|
|
message(STATUS "No ExternalProject svn tests with non-cygwin svn client in a /cygdrive based build")
|
|
|
|
set(do_svn_tests 0)
|
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
|
2009-06-29 18:46:45 +04:00
|
|
|
if(do_svn_tests)
|
2009-06-26 19:32:04 +04:00
|
|
|
# Unzip/untar the SVN repository in our source folder so that other
|
|
|
|
# projects below may use it to test SVN args of ep_add
|
|
|
|
#
|
|
|
|
set(proj SetupLocalSVNRepository)
|
|
|
|
set(local_svn_repo "${CMAKE_CURRENT_BINARY_DIR}/LocalRepositories/SVN")
|
|
|
|
set(local_svn_repo_url "file:///${local_svn_repo}/TutorialStep1")
|
|
|
|
ep_add(${proj}
|
|
|
|
SOURCE_DIR ${local_svn_repo}
|
|
|
|
URL ${CMAKE_CURRENT_SOURCE_DIR}/svnrepo.tgz
|
|
|
|
BUILD_COMMAND ""
|
|
|
|
CONFIGURE_COMMAND ${Subversion_SVN_EXECUTABLE} --version
|
|
|
|
INSTALL_COMMAND ""
|
|
|
|
)
|
|
|
|
|
2008-12-04 21:27:48 +03:00
|
|
|
# SVN by date stamp:
|
|
|
|
#
|
2009-06-26 21:00:39 +04:00
|
|
|
set(proj TutorialStep1-SVN-20090626)
|
2009-06-24 23:03:26 +04:00
|
|
|
ep_add(${proj}
|
2009-06-26 17:55:35 +04:00
|
|
|
SVN_REPOSITORY "${local_svn_repo_url}"
|
2009-06-26 21:00:39 +04:00
|
|
|
SVN_TAG "-r{2009-06-26 16:50:00 +0000}"
|
|
|
|
UPDATE_COMMAND ""
|
2009-03-04 19:45:42 +03:00
|
|
|
CMAKE_GENERATOR "${CMAKE_GENERATOR}"
|
2009-06-24 23:03:26 +04:00
|
|
|
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=<INSTALL_DIR>
|
2009-06-26 17:55:35 +04:00
|
|
|
INSTALL_COMMAND ""
|
|
|
|
DEPENDS "SetupLocalSVNRepository"
|
2008-12-04 21:27:48 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
# SVN by revision number:
|
|
|
|
#
|
2009-06-26 17:55:35 +04:00
|
|
|
set(proj TutorialStep1-SVN-r2)
|
2009-06-24 23:03:26 +04:00
|
|
|
ep_add(${proj}
|
2009-06-26 17:55:35 +04:00
|
|
|
SVN_REPOSITORY "${local_svn_repo_url}"
|
|
|
|
SVN_TAG "-r2"
|
2009-06-26 21:00:39 +04:00
|
|
|
UPDATE_COMMAND ""
|
2009-03-04 19:45:42 +03:00
|
|
|
CMAKE_GENERATOR "${CMAKE_GENERATOR}"
|
2009-06-24 23:03:26 +04:00
|
|
|
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=<INSTALL_DIR>
|
2008-12-04 21:27:48 +03:00
|
|
|
INSTALL_COMMAND ""
|
2009-06-26 17:55:35 +04:00
|
|
|
DEPENDS "SetupLocalSVNRepository"
|
2008-12-04 21:27:48 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
# Live SVN / trunk (no SVN_TAG):
|
|
|
|
#
|
2009-06-26 17:55:35 +04:00
|
|
|
set(proj TutorialStep1-SVN-trunk)
|
2009-06-24 23:03:26 +04:00
|
|
|
ep_add(${proj}
|
2009-06-26 17:55:35 +04:00
|
|
|
SVN_REPOSITORY "${local_svn_repo_url}"
|
2009-03-04 19:45:42 +03:00
|
|
|
CMAKE_GENERATOR "${CMAKE_GENERATOR}"
|
2009-06-24 23:03:26 +04:00
|
|
|
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=<INSTALL_DIR>
|
2008-12-04 21:27:48 +03:00
|
|
|
INSTALL_COMMAND ""
|
2009-06-26 17:55:35 +04:00
|
|
|
DEPENDS "SetupLocalSVNRepository"
|
2008-12-04 21:27:48 +03:00
|
|
|
)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
|
|
# Test the testable built/installed products:
|
|
|
|
#
|
|
|
|
enable_testing()
|
|
|
|
|
|
|
|
|
|
|
|
# Do at least a smoke test of a built executable from each
|
|
|
|
# project's build directory...
|
|
|
|
#
|
|
|
|
# BuildTree tests:
|
|
|
|
#
|
2008-12-11 23:55:46 +03:00
|
|
|
if(can_build_tutorial_step5)
|
|
|
|
add_test(TutorialStep5-Local-BuildTreeTest
|
2009-06-24 23:03:26 +04:00
|
|
|
"${binary_base}/TutorialStep5-Local/Tutorial" 42)
|
2008-12-11 23:55:46 +03:00
|
|
|
endif()
|
2008-12-04 21:27:48 +03:00
|
|
|
|
|
|
|
add_test(TutorialStep1-LocalTAR-BuildTreeTest
|
2009-06-24 23:03:26 +04:00
|
|
|
"${binary_base}/TutorialStep1-LocalTAR/EP-Tutorial" 36)
|
2008-12-04 21:27:48 +03:00
|
|
|
|
|
|
|
add_test(TutorialStep1-LocalNoDirTAR-BuildTreeTest
|
2009-06-24 23:03:26 +04:00
|
|
|
"${binary_base}/TutorialStep1-LocalNoDirTAR/EP-Tutorial" 25)
|
2008-12-04 21:27:48 +03:00
|
|
|
|
|
|
|
add_test(TutorialStep1-LocalTGZ-BuildTreeTest
|
2009-06-24 23:03:26 +04:00
|
|
|
"${binary_base}/TutorialStep1-LocalTGZ/Tutorial" 16)
|
2008-12-04 21:27:48 +03:00
|
|
|
|
|
|
|
add_test(TutorialStep1-LocalNoDirTGZ-BuildTreeTest
|
2009-06-24 23:03:26 +04:00
|
|
|
"${binary_base}/TutorialStep1-LocalNoDirTGZ/Tutorial" 9)
|
2008-12-04 21:27:48 +03:00
|
|
|
|
2009-06-29 18:46:45 +04:00
|
|
|
if(do_cvs_tests)
|
2009-06-26 21:00:39 +04:00
|
|
|
add_test(TutorialStep1-CVS-20090626-BuildTreeTest
|
|
|
|
"${binary_base}/TutorialStep1-CVS-20090626/Tutorial" 4)
|
2008-12-04 21:27:48 +03:00
|
|
|
|
2009-06-26 17:55:35 +04:00
|
|
|
add_test(TutorialStep1-CVS-testtag1-BuildTreeTest
|
|
|
|
"${binary_base}/TutorialStep1-CVS-testtag1/Tutorial" 64)
|
2008-12-04 21:27:48 +03:00
|
|
|
|
2009-06-26 17:55:35 +04:00
|
|
|
add_test(TutorialStep1-CVS-HEAD-BuildTreeTest
|
|
|
|
"${binary_base}/TutorialStep1-CVS-HEAD/Tutorial" 81)
|
2008-12-04 21:27:48 +03:00
|
|
|
endif()
|
|
|
|
|
2009-06-29 18:46:45 +04:00
|
|
|
if(do_svn_tests)
|
2009-06-26 21:00:39 +04:00
|
|
|
add_test(TutorialStep1-SVN-20090626-BuildTreeTest
|
|
|
|
"${binary_base}/TutorialStep1-SVN-20090626/Tutorial" 100)
|
2008-12-04 21:27:48 +03:00
|
|
|
|
2009-06-26 17:55:35 +04:00
|
|
|
add_test(TutorialStep1-SVN-r2-BuildTreeTest
|
|
|
|
"${binary_base}/TutorialStep1-SVN-r2/Tutorial" 99)
|
2008-12-04 21:27:48 +03:00
|
|
|
|
2009-06-26 17:55:35 +04:00
|
|
|
add_test(TutorialStep1-SVN-trunk-BuildTreeTest
|
|
|
|
"${binary_base}/TutorialStep1-SVN-trunk/Tutorial" 98)
|
2008-12-04 21:27:48 +03:00
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
|
|
# InstallTree tests:
|
|
|
|
#
|
2008-12-11 23:55:46 +03:00
|
|
|
if(can_build_tutorial_step5)
|
|
|
|
add_test(TutorialStep5-InstallTreeTest
|
2009-06-24 23:03:26 +04:00
|
|
|
"${TutorialStep5_install_dir}/bin/Tutorial" 49)
|
2008-12-11 23:55:46 +03:00
|
|
|
endif()
|