File: run_install.cmake

package info (click to toggle)
adios2 2.10.2%2Bdfsg1-5
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 33,804 kB
  • sloc: cpp: 175,964; ansic: 160,510; f90: 14,630; yacc: 12,668; python: 7,275; perl: 7,126; sh: 2,850; lisp: 1,106; xml: 1,049; makefile: 583; lex: 557
file content (16 lines) | stat: -rw-r--r-- 686 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#------------------------------------------------------------------------------#
# Distributed under the OSI-approved Apache License, Version 2.0.  See
# accompanying file Copyright.txt for details.
#------------------------------------------------------------------------------#

unset(ENV{DESTDIR})
file(REMOVE_RECURSE "${ADIOS2_BINARY_DIR}/testing/install/install")
execute_process(COMMAND "${CMAKE_COMMAND}"
  "-DCMAKE_INSTALL_PREFIX=${ADIOS2_BINARY_DIR}/testing/install/install"
  "-DBUILD_TYPE=${BUILD_TYPE}"
  -P "${ADIOS2_BINARY_DIR}/cmake_install.cmake"
  RESULT_VARIABLE result
  )
if(result)
  message(FATAL_ERROR "Result of installation was ${result}, should be 0")
endif()