https://github.com/Kitware/CMake
Raw File
Tip revision: 6c71fa6d56d3e2de30de3e0eb1d72375530598c4 authored by Brad King on 14 March 2023, 14:04:14 UTC
CMake 3.26.0
Tip revision: 6c71fa6
post_build.sh
#!/bin/bash

set -e

quietly() {
  readonly log="/tmp/quietly-$RANDOM.log"
  if ! "$@" >"$log" 2>&1; then
    ret=$?
    cat "$log"
    rm -f "$log"
    exit $ret
  fi
  rm -f "$log"
}

if test -r ".gitlab/ci/post_build_${CMAKE_CONFIGURATION}.sh"; then
  source ".gitlab/ci/post_build_${CMAKE_CONFIGURATION}.sh"
fi
back to top