Browse Source

STYLE: mark these variables as advanced, they are only used for testing
whether the tests should be added or not

Alex

Alexander Neundorf 18 years ago
parent
commit
998c176cc0
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Tests/CMakeLists.txt

+ 2 - 0
Tests/CMakeLists.txt

@@ -728,6 +728,7 @@ IF(BUILD_TESTING)
 
     # if sdcc is found, build the SimpleCOnly project with sdcc
     FIND_PROGRAM(SDCC_EXECUTABLE sdcc)
+    MARK_AS_ADVANCED(SDCC_EXECUTABLE)
     IF(SDCC_EXECUTABLE)
       ADD_TEST(SimpleCOnly_sdcc ${CMAKE_CTEST_COMMAND}
         --build-and-test
@@ -744,6 +745,7 @@ IF(BUILD_TESTING)
     
     FIND_PROGRAM(MINGW_CC_LINUX2WIN_EXECUTABLE i586-mingw32msvc-gcc)
     FIND_PROGRAM(MINGW_CXX_LINUX2WIN_EXECUTABLE i586-mingw32msvc-g++)
+    MARK_AS_ADVANCED(MINGW_CC_LINUX2WIN_EXECUTABLE MINGW_CXX_LINUX2WIN_EXECUTABLE)
     IF(MINGW_CC_LINUX2WIN_EXECUTABLE  AND  MINGW_CXX_LINUX2WIN_EXECUTABLE)
       ADD_TEST(Simple_Mingw_Linux2Win ${CMAKE_CTEST_COMMAND}
         --build-and-test