Cloned SEACAS for EXODUS library with extra build files for internal package management.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

30 lines
954 B

#
# cmake -P script that calls tribits_ctest_update_commands.cmake and sends
# STDOUT to a file.
#
# This script is required if you want to capture the output from these
# commands to a file since this is called from ctest_update() which discards
# the output (and does not send it to CDash).
#
cmake_minimum_required(VERSION 3.23.0 FATAL_ERROR)
message("\ncmake -P tribits_ctest_update_commands_wrapper.cmake:")
message("-- OUTPUT_FILE=${OUTPUT_FILE}\n")
execute_process(
COMMAND "${CMAKE_COMMAND}"
-DGIT_EXE=${GIT_EXE}
-DREMOTE_NAME=${REMOTE_NAME}
-DBRANCH=${BRANCH}
-DUNIT_TEST_MODE=${UNIT_TEST_MODE}
-P ${CMAKE_CURRENT_LIST_DIR}/tribits_ctest_update_commands.cmake
OUTPUT_FILE "${OUTPUT_FILE}"
ERROR_FILE "${OUTPUT_FILE}"
RESULT_VARIABLE RTN_CODE
)
message("\ntribits_ctest_update_commands_wrapper.cmake return: ${RTN_CODE}\n")
if (NOT "${RTN_CODE}" STREQUAL "0")
message(FATAL_ERROR "Git Update FAILED!")
endif()