This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jan 19th, 2012  |  syntax: CMake  |  size: 3.53 KB  |  views: 122  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Install script for directory: /tmp/buildd/opencamlib-11.10.13
  2.  
  3. # Set the install prefix
  4. IF(NOT DEFINED CMAKE_INSTALL_PREFIX)
  5.   SET(CMAKE_INSTALL_PREFIX "/usr")
  6. ENDIF(NOT DEFINED CMAKE_INSTALL_PREFIX)
  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(BUILD_TYPE)
  15.     SET(CMAKE_INSTALL_CONFIG_NAME "Release")
  16.   ENDIF(BUILD_TYPE)
  17.   MESSAGE(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
  18. ENDIF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
  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(COMPONENT)
  26.     SET(CMAKE_INSTALL_COMPONENT)
  27.   ENDIF(COMPONENT)
  28. ENDIF(NOT CMAKE_INSTALL_COMPONENT)
  29.  
  30. # Install shared libraries without execute permission?
  31. IF(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
  32.   SET(CMAKE_INSTALL_SO_NO_EXE "1")
  33. ENDIF(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
  34.  
  35. IF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
  36.   IF(EXISTS "$ENV{DESTDIR}/usr/lib/python2.7/dist-packages/ocl.so" AND
  37.      NOT IS_SYMLINK "$ENV{DESTDIR}/usr/lib/python2.7/dist-packages/ocl.so")
  38.     FILE(RPATH_CHECK
  39.          FILE "$ENV{DESTDIR}/usr/lib/python2.7/dist-packages/ocl.so"
  40.          RPATH "")
  41.   ENDIF()
  42.   list(APPEND CPACK_ABSOLUTE_DESTINATION_FILES
  43.    "/usr/lib/python2.7/dist-packages/ocl.so")
  44. FILE(INSTALL DESTINATION "/usr/lib/python2.7/dist-packages" TYPE MODULE FILES "/tmp/buildd/opencamlib-11.10.13/build_dir/ocl.so")
  45.   IF(EXISTS "$ENV{DESTDIR}/usr/lib/python2.7/dist-packages/ocl.so" AND
  46.      NOT IS_SYMLINK "$ENV{DESTDIR}/usr/lib/python2.7/dist-packages/ocl.so")
  47.     IF(CMAKE_INSTALL_DO_STRIP)
  48.       EXECUTE_PROCESS(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}/usr/lib/python2.7/dist-packages/ocl.so")
  49.     ENDIF(CMAKE_INSTALL_DO_STRIP)
  50.   ENDIF()
  51. ENDIF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
  52.  
  53. IF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
  54.   list(APPEND CPACK_ABSOLUTE_DESTINATION_FILES
  55.    "/usr/lib/python2.7/dist-packages/")
  56. FILE(INSTALL DESTINATION "/usr/lib/python2.7/dist-packages" TYPE DIRECTORY FILES "/tmp/buildd/opencamlib-11.10.13/../lib/")
  57. ENDIF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
  58.  
  59. IF(NOT CMAKE_INSTALL_LOCAL_ONLY)
  60.   # Include the install script for each subdirectory.
  61.   INCLUDE("/tmp/buildd/opencamlib-11.10.13/build_dir/cutters/cmake_install.cmake")
  62.   INCLUDE("/tmp/buildd/opencamlib-11.10.13/build_dir/geo/cmake_install.cmake")
  63.   INCLUDE("/tmp/buildd/opencamlib-11.10.13/build_dir/algo/cmake_install.cmake")
  64.   INCLUDE("/tmp/buildd/opencamlib-11.10.13/build_dir/dropcutter/cmake_install.cmake")
  65.   INCLUDE("/tmp/buildd/opencamlib-11.10.13/build_dir/common/cmake_install.cmake")
  66.  
  67. ENDIF(NOT CMAKE_INSTALL_LOCAL_ONLY)
  68.  
  69. IF(CMAKE_INSTALL_COMPONENT)
  70.   SET(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt")
  71. ELSE(CMAKE_INSTALL_COMPONENT)
  72.   SET(CMAKE_INSTALL_MANIFEST "install_manifest.txt")
  73. ENDIF(CMAKE_INSTALL_COMPONENT)
  74.  
  75. FILE(WRITE "/tmp/buildd/opencamlib-11.10.13/build_dir/${CMAKE_INSTALL_MANIFEST}" "")
  76. FOREACH(file ${CMAKE_INSTALL_MANIFEST_FILES})
  77.   FILE(APPEND "/tmp/buildd/opencamlib-11.10.13/build_dir/${CMAKE_INSTALL_MANIFEST}" "${file}\n")
  78. ENDFOREACH(file)
clone this paste RAW Paste Data