Debian Codegraph @

mtxclient/examples/cmake_install.cmake

raw
1 # Install script for directory: /home/nicolas/Dokumente/devel/open-source/mtxclient/examples
2
3 # Set the install prefix
4 if(NOT DEFINED CMAKE_INSTALL_PREFIX)
5 set(CMAKE_INSTALL_PREFIX "/usr/local")
6 endif()
7 string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
8
9 # Set the install configuration name.
10 if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
11 if(BUILD_TYPE)
12 string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
13 CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
14 else()
15 set(CMAKE_INSTALL_CONFIG_NAME "")
16 endif()
17 message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
18 endif()
19
20 # Set the component getting installed.
21 if(NOT CMAKE_INSTALL_COMPONENT)
22 if(COMPONENT)
23 message(STATUS "Install component: \"${COMPONENT}\"")
24 set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
25 else()
26 set(CMAKE_INSTALL_COMPONENT)
27 endif()
28 endif()
29
30 # Install shared libraries without execute permission?
31 if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
32 set(CMAKE_INSTALL_SO_NO_EXE "0")
33 endif()
34
35 # Is this installation the result of a crosscompile?
36 if(NOT DEFINED CMAKE_CROSSCOMPILING)
37 set(CMAKE_CROSSCOMPILING "FALSE")
38 endif()
39
40 # Set default install directory permissions.
41 if(NOT DEFINED CMAKE_OBJDUMP)
42 set(CMAKE_OBJDUMP "/usr/bin/objdump")
43 endif()
44