diff --git a/CMakeLists.txt b/CMakeLists.txt index 478604e0c..ab8148920 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -162,6 +162,7 @@ MACRO(build_bin_test F) PROPERTIES LINK_FLAGS_DEBUG " /NODEFAULTLIB:MSVCRT" ) ENDIF() + SET_PROPERTY(TARGET ${F} PROPERTY LABELS invoked_by_scripts) ENDMACRO() # Binary tests which are used by a script looking for a specific name. @@ -171,6 +172,7 @@ MACRO(add_bin_test_no_prefix F) IF(MSVC) SET_PROPERTY(TEST ${F} PROPERTY FOLDER "tests/") ENDIF() + ENDMACRO() # Binary tests which are used by a script looking for a specific name. diff --git a/CTestConfig.cmake b/CTestConfig.cmake index 7ea579b90..ff1d45f3a 100644 --- a/CTestConfig.cmake +++ b/CTestConfig.cmake @@ -1,6 +1,6 @@ # CTest/CDash configuration -SET(CTEST_PROJECT_SUBPROJECTS netcdf ncgen ncdump nccopy nc_test) +SET(CTEST_PROJECT_SUBPROJECTS netcdf ncgen ncdump nccopy nc_test invoked_by_scripts) IF(USE_REMOTE_CDASH) set(CTEST_PROJECT_NAME "NetCDF-C") diff --git a/Project.xml b/Project.xml index f22e67198..9078889c3 100644 --- a/Project.xml +++ b/Project.xml @@ -1,16 +1,23 @@ + + + + + + + diff --git a/nc_test/CMakeLists.txt b/nc_test/CMakeLists.txt index f31da7c3b..f04d5c4d8 100644 --- a/nc_test/CMakeLists.txt +++ b/nc_test/CMakeLists.txt @@ -34,7 +34,6 @@ ENDIF() # Build executables required for the shell scripts. FOREACH(BINFILE ${TESTFILES}) build_bin_test(${BINFILE}) - SET_PROPERTY(TARGET ${BINFILE} PROPERTY LABELS nc_test) ENDFOREACH() # Process single-file test files.