Merge CMake changes from develop

Improved cross-compiling and toolchains
This commit is contained in:
Allen Byrne
2018-10-23 11:00:36 -05:00
parent ea2a969ce2
commit b6e61e8310
14 changed files with 94 additions and 48 deletions

View File

@@ -263,7 +263,11 @@ message (STATUS "Dashboard script configuration:\n${vars}\n")
if (NOT LOCAL_SKIP_TEST)
if (NOT LOCAL_MEMCHECK_TEST)
ctest_test (BUILD "${CTEST_BINARY_DIRECTORY}" APPEND ${ctest_test_args} RETURN_VALUE res)
if (NOT LOCAL_BATCH_TEST)
ctest_test (BUILD "${CTEST_BINARY_DIRECTORY}" APPEND ${ctest_test_args} RETURN_VALUE res)
else ()
execute_process (COMMAND ${LOCAL_BATCH_SCRIPT_COMMAND} ${LOCAL_BATCH_SCRIPT_NAME})
endif ()
if (LOCAL_SUBMIT)
ctest_submit (PARTS Test)
endif ()