ENH: only do objc++ test with GNU of course

This commit is contained in:
Ken Martin 2005-02-14 10:16:58 -05:00
parent 1416d299ff
commit 7bc60c68e7
1 changed files with 2 additions and 2 deletions

View File

@ -686,7 +686,7 @@ IF(BUILD_TESTING)
--test-command VSExternalInclude) --test-command VSExternalInclude)
ENDIF(${CMAKE_GENERATOR} MATCHES "Visual Studio") ENDIF(${CMAKE_GENERATOR} MATCHES "Visual Studio")
IF (APPLE) IF (APPLE AND CMAKE_COMPILER_IS_GNUCXX)
ADD_TEST(objc++ ${CMAKE_CTEST_COMMAND} ADD_TEST(objc++ ${CMAKE_CTEST_COMMAND}
--build-and-test --build-and-test
"${CMake_SOURCE_DIR}/Tests/Objc++" "${CMake_SOURCE_DIR}/Tests/Objc++"
@ -696,7 +696,7 @@ IF(BUILD_TESTING)
--build-project objc++ --build-project objc++
--test-command objc++ --test-command objc++
) )
ENDIF (APPLE) ENDIF (APPLE AND CMAKE_COMPILER_IS_GNUCXX)
IF (CTEST_TEST_CTEST AND CMAKE_RUN_LONG_TESTS) IF (CTEST_TEST_CTEST AND CMAKE_RUN_LONG_TESTS)
CONFIGURE_FILE("${CMake_SOURCE_DIR}/Tests/CTestTest/test.cmake.in" CONFIGURE_FILE("${CMake_SOURCE_DIR}/Tests/CTestTest/test.cmake.in"