Просмотр исходного кода

Cleanup CMakeBuildTest in test_clean target

The test_clean target is supposed to remove all test build directories.
We add the build directory for CMakeBuildTest because it was missing.
Brad King 16 лет назад
Родитель
Сommit
5152bf5639
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      Tests/CMakeLists.txt

+ 1 - 0
Tests/CMakeLists.txt

@@ -162,6 +162,7 @@ IF(BUILD_TESTING)
     "${CMake_BINARY_DIR}/Tests/CMakeBuildTest.cmake" @ONLY)
   ADD_TEST(CMakeBuildTest ${CMAKE_CMAKE_COMMAND} -P
     "${CMake_BINARY_DIR}/Tests/CMakeBuildTest.cmake")
+  LIST(APPEND TEST_BUILD_DIRS ${CMAKE_BUILD_TEST_BINARY_DIR})
 
   # If we are running right now with a UnixMakefiles based generator,
   # build the "Simple" test with the ExtraGenerators, if available