mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-16 20:21:41 -06:00
Disable the tests for Watcom.
They are timing out and showing up on the dashboard.
This commit is contained in:
@@ -2,6 +2,21 @@ cmake_minimum_required(VERSION 2.8.5 FATAL_ERROR)
|
||||
|
||||
project(GenerateExportHeader)
|
||||
|
||||
# Prevent timeout on Watcom by not running the tests.
|
||||
if ("${CMAKE_COMPILER_ID}" MATCHES Watcom)
|
||||
file(WRITE
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/main.cxx"
|
||||
"int main() { return 0; }
|
||||
"
|
||||
)
|
||||
|
||||
add_executable(
|
||||
GenerateExportHeader
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/main.cxx"
|
||||
)
|
||||
return()
|
||||
endif()
|
||||
|
||||
include(CheckCXXCompilerFlag)
|
||||
|
||||
set( CMAKE_INCLUDE_CURRENT_DIR ON )
|
||||
|
||||
Reference in New Issue
Block a user