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")
|
||||
|
||||
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)
|
||||
try_cvs_checkout(
|
||||
":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?")
|
||||
endif()
|
||||
|
||||
message(STATUS "can_build_kwstyle='${can_build_kwstyle}'")
|
||||
message(STATUS "can_use_cvs='${can_use_cvs}'")
|
||||
message(STATUS "can_use_svn='${can_use_svn}'")
|
||||
|
||||
@ -152,6 +161,7 @@ if(can_use_cvs)
|
||||
INSTALL_COMMAND ""
|
||||
)
|
||||
|
||||
if(can_build_kwstyle)
|
||||
# Live CVS / HEAD (no CVS_TAG):
|
||||
#
|
||||
set(proj KWStyle-CVSHEAD)
|
||||
@ -168,6 +178,7 @@ if(can_use_cvs)
|
||||
DEPENDS "TutorialStep1-20081201"
|
||||
DEPENDS "kwsys-from-CMake-2-6-2"
|
||||
)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
||||
@ -242,8 +253,10 @@ if(can_use_cvs)
|
||||
add_test(kwsys-from-CMake-2-6-2-BuildTreeTest
|
||||
"${build_dir}/kwsys-from-CMake-2-6-2/kwsysTestProcess" 1)
|
||||
|
||||
if(can_build_kwstyle)
|
||||
add_test(KWStyle-CVSHEAD-BuildTreeTest
|
||||
"${build_dir}/KWStyle-CVSHEAD/KWStyle" -xml "${kwstyleXmlFile}" "${header}")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(can_use_svn)
|
||||
@ -264,8 +277,10 @@ add_test(TutorialStep5-InstallTreeTest
|
||||
"${install_dir}/bin/Tutorial" 49)
|
||||
|
||||
if(can_use_cvs)
|
||||
if(can_build_kwstyle)
|
||||
add_test(KWStyle-InstallTreeTest
|
||||
"${install_dir}/bin/KWStyle" -xml "${kwstyleXmlFile}" "${header}")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(can_use_svn)
|
||||
|
Loading…
x
Reference in New Issue
Block a user