BUG: Prevent KWStyle portion of ExternalProject test from configuring, building, installing and testing on WATCOM dashboards. WATCOM STL support is still under development.
This commit is contained in:
parent
227c86d8cc
commit
4f217f0361
@ -16,6 +16,14 @@ set(prefix "${install_dir}")
|
|||||||
#
|
#
|
||||||
include("${CMAKE_CURRENT_SOURCE_DIR}/TryCheckout.cmake")
|
include("${CMAKE_CURRENT_SOURCE_DIR}/TryCheckout.cmake")
|
||||||
|
|
||||||
|
if(NOT DEFINED can_build_kwstyle)
|
||||||
|
if(WATCOM)
|
||||||
|
set(can_build_kwstyle 0)
|
||||||
|
else()
|
||||||
|
set(can_build_kwstyle 1)
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
if(NOT DEFINED can_use_cvs)
|
if(NOT DEFINED can_use_cvs)
|
||||||
try_cvs_checkout(
|
try_cvs_checkout(
|
||||||
":pserver:anonymous:cmake@www.cmake.org:/cvsroot/CMake"
|
":pserver:anonymous:cmake@www.cmake.org:/cvsroot/CMake"
|
||||||
@ -35,6 +43,7 @@ if(NOT DEFINED can_use_svn)
|
|||||||
set(can_use_svn ${can_use_svn} CACHE STRING "Was try_svn_checkout successful?")
|
set(can_use_svn ${can_use_svn} CACHE STRING "Was try_svn_checkout successful?")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
message(STATUS "can_build_kwstyle='${can_build_kwstyle}'")
|
||||||
message(STATUS "can_use_cvs='${can_use_cvs}'")
|
message(STATUS "can_use_cvs='${can_use_cvs}'")
|
||||||
message(STATUS "can_use_svn='${can_use_svn}'")
|
message(STATUS "can_use_svn='${can_use_svn}'")
|
||||||
|
|
||||||
@ -152,6 +161,7 @@ if(can_use_cvs)
|
|||||||
INSTALL_COMMAND ""
|
INSTALL_COMMAND ""
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if(can_build_kwstyle)
|
||||||
# Live CVS / HEAD (no CVS_TAG):
|
# Live CVS / HEAD (no CVS_TAG):
|
||||||
#
|
#
|
||||||
set(proj KWStyle-CVSHEAD)
|
set(proj KWStyle-CVSHEAD)
|
||||||
@ -169,6 +179,7 @@ if(can_use_cvs)
|
|||||||
DEPENDS "kwsys-from-CMake-2-6-2"
|
DEPENDS "kwsys-from-CMake-2-6-2"
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
|
||||||
# Download SVN:
|
# Download SVN:
|
||||||
@ -242,9 +253,11 @@ if(can_use_cvs)
|
|||||||
add_test(kwsys-from-CMake-2-6-2-BuildTreeTest
|
add_test(kwsys-from-CMake-2-6-2-BuildTreeTest
|
||||||
"${build_dir}/kwsys-from-CMake-2-6-2/kwsysTestProcess" 1)
|
"${build_dir}/kwsys-from-CMake-2-6-2/kwsysTestProcess" 1)
|
||||||
|
|
||||||
|
if(can_build_kwstyle)
|
||||||
add_test(KWStyle-CVSHEAD-BuildTreeTest
|
add_test(KWStyle-CVSHEAD-BuildTreeTest
|
||||||
"${build_dir}/KWStyle-CVSHEAD/KWStyle" -xml "${kwstyleXmlFile}" "${header}")
|
"${build_dir}/KWStyle-CVSHEAD/KWStyle" -xml "${kwstyleXmlFile}" "${header}")
|
||||||
endif()
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
if(can_use_svn)
|
if(can_use_svn)
|
||||||
add_test(gdcm-md5-20081204-BuildTreeTest
|
add_test(gdcm-md5-20081204-BuildTreeTest
|
||||||
@ -264,9 +277,11 @@ add_test(TutorialStep5-InstallTreeTest
|
|||||||
"${install_dir}/bin/Tutorial" 49)
|
"${install_dir}/bin/Tutorial" 49)
|
||||||
|
|
||||||
if(can_use_cvs)
|
if(can_use_cvs)
|
||||||
|
if(can_build_kwstyle)
|
||||||
add_test(KWStyle-InstallTreeTest
|
add_test(KWStyle-InstallTreeTest
|
||||||
"${install_dir}/bin/KWStyle" -xml "${kwstyleXmlFile}" "${header}")
|
"${install_dir}/bin/KWStyle" -xml "${kwstyleXmlFile}" "${header}")
|
||||||
endif()
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
if(can_use_svn)
|
if(can_use_svn)
|
||||||
add_test(gdcm-md5-InstallTreeTest
|
add_test(gdcm-md5-InstallTreeTest
|
||||||
|
Loading…
x
Reference in New Issue
Block a user