Debian Codegraph @

cmake/tribits/core/package_arch/TribitsConfigureCTestCustom.cmake

raw
1 # @HEADER
2 # *****************************************************************************
3 # TriBITS: Tribal Build, Integrate, and Test System
4 #
5 # Copyright 2013-2016 NTESS and the TriBITS contributors.
6 # SPDX-License-Identifier: BSD-3-Clause
7 # *****************************************************************************
8 # @HEADER
9
10 include(TribitsGeneralMacros)
11
12 function(tribits_configure_ctest_custom TRIBITS_PROJECT_SOURCE_DIR OUTPUT_BINARY_DIR)
13 set(CTEST_CUSTOM_IN ${TRIBITS_PROJECT_SOURCE_DIR}/cmake/ctest/CTestCustom.cmake.in)
14 #print_var(CTEST_CUSTOM_IN)
15 if(EXISTS ${CTEST_CUSTOM_IN})
16 tribits_trace_file_processing(PROJECT CONFIGURE "${CTEST_CUSTOM_IN}")
17 configure_file(${CTEST_CUSTOM_IN} ${OUTPUT_BINARY_DIR}/CTestCustom.cmake)
18 endif()
19 endfunction()