Revision 2e5d5fd20f710778c8e59feea7f66a4ad1c13336 authored by Dmitri Naumov on 14 June 2023, 16:38:04 UTC, committed by Dmitri Naumov on 14 June 2023, 17:46:57 UTC
Using lambda and auto return type deduction shortens the code.
1 parent 147ea9a
Raw File
CTestConfig.cmake
set(CTEST_PROJECT_NAME "ogs")
set(CTEST_NIGHTLY_START_TIME "01:00:00 UTC")
set(CTEST_SUBMIT_URL
    "https://cdash.opengeosys.org/submit.php?project=${CTEST_PROJECT_NAME}"
)
if(DEFINED ENV{CI_JOB_NAME})
    # Bug in CDash: Remove ":", see
    # https://github.com/Kitware/CDash/issues/1292
    string(REPLACE ":" "" _build_name "$ENV{CI_JOB_NAME}")
    set(BUILDNAME ${_build_name})
endif()
back to top