diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2018-05-05 18:22:19 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2018-05-05 18:22:19 +0200 |
commit | 498011c44291d7d619143ce5ff3e38369d759c22 (patch) | |
tree | 5b4d1fdd686089c0c1778a462e27fa694b8f49be /app/lib/cmake_install.cmake | |
parent | 67d0ce65dc6a1d240e271a7cd479b60aa1dc2967 (diff) | |
parent | 9a1d6eded2750572e9f5f79e53ec507dd7a06ba5 (diff) |
Update upstream source from tag 'upstream/5.1.1'
Update to upstream version '5.1.1'
with Debian dir 878f8cb06af8c1037570ac8774f9261ff9b12fa4
Diffstat (limited to 'app/lib/cmake_install.cmake')
-rw-r--r-- | app/lib/cmake_install.cmake | 85 |
1 files changed, 85 insertions, 0 deletions
diff --git a/app/lib/cmake_install.cmake b/app/lib/cmake_install.cmake new file mode 100644 index 0000000..02e4ca6 --- /dev/null +++ b/app/lib/cmake_install.cmake @@ -0,0 +1,85 @@ +# Install script for directory: /home/martin/XTrackCAD/src/work/app/lib + +# Set the install prefix +if(NOT DEFINED CMAKE_INSTALL_PREFIX) + set(CMAKE_INSTALL_PREFIX "/usr/local") +endif() +string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") + +# Set the install configuration name. +if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) + if(BUILD_TYPE) + string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" + CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") + else() + set(CMAKE_INSTALL_CONFIG_NAME "Debug") + endif() + message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") +endif() + +# Set the component getting installed. +if(NOT CMAKE_INSTALL_COMPONENT) + if(COMPONENT) + message(STATUS "Install component: \"${COMPONENT}\"") + set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") + else() + set(CMAKE_INSTALL_COMPONENT) + endif() +endif() + +# Install shared libraries without execute permission? +if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE) + set(CMAKE_INSTALL_SO_NO_EXE "0") +endif() + +if("${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/xtrkcad" TYPE FILE FILES + "/home/martin/XTrackCAD/src/work/app/lib/COPYING" + "/home/martin/XTrackCAD/src/work/app/lib/logo.bmp" + "/home/martin/XTrackCAD/src/work/app/lib/xtrkcad.xtq" + ) +endif() + +if("${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/xtrkcad" TYPE FILE FILES + "/home/martin/XTrackCAD/src/work/app/lib/Readme.txt" + "/home/martin/XTrackCAD/src/work/app/lib/CHANGELOG.txt" + ) +endif() + +if("${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/xtrkcad" TYPE PROGRAM FILES "/home/martin/XTrackCAD/src/work/app/lib/xdg-open") +endif() + +if("${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT) + list(APPEND CMAKE_ABSOLUTE_DESTINATION_FILES + "/usr/share/applications/xtrkcad.desktop") + if(CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION) + message(WARNING "ABSOLUTE path INSTALL DESTINATION : ${CMAKE_ABSOLUTE_DESTINATION_FILES}") + endif() + if(CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION) + message(FATAL_ERROR "ABSOLUTE path INSTALL DESTINATION forbidden (by caller): ${CMAKE_ABSOLUTE_DESTINATION_FILES}") + endif() +file(INSTALL DESTINATION "/usr/share/applications" TYPE FILE FILES "/home/martin/XTrackCAD/src/work/app/lib/xtrkcad.desktop") +endif() + +if("${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT) + list(APPEND CMAKE_ABSOLUTE_DESTINATION_FILES + "/usr/share/pixmaps/xtrkcad.png") + if(CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION) + message(WARNING "ABSOLUTE path INSTALL DESTINATION : ${CMAKE_ABSOLUTE_DESTINATION_FILES}") + endif() + if(CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION) + message(FATAL_ERROR "ABSOLUTE path INSTALL DESTINATION forbidden (by caller): ${CMAKE_ABSOLUTE_DESTINATION_FILES}") + endif() +file(INSTALL DESTINATION "/usr/share/pixmaps" TYPE FILE FILES "/home/martin/XTrackCAD/src/work/app/lib/xtrkcad.png") +endif() + +if(NOT CMAKE_INSTALL_LOCAL_ONLY) + # Include the install script for each subdirectory. + include("/home/martin/XTrackCAD/src/work/app/lib/demos/cmake_install.cmake") + include("/home/martin/XTrackCAD/src/work/app/lib/examples/cmake_install.cmake") + include("/home/martin/XTrackCAD/src/work/app/lib/params/cmake_install.cmake") + +endif() + |