cmake_install.cmake 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. # Install script for directory: /home/book/hisi3518_lora/common/log
  2. # Set the install prefix
  3. if(NOT DEFINED CMAKE_INSTALL_PREFIX)
  4. set(CMAKE_INSTALL_PREFIX "/usr/local")
  5. endif()
  6. string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
  7. # Set the install configuration name.
  8. if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
  9. if(BUILD_TYPE)
  10. string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
  11. CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
  12. else()
  13. set(CMAKE_INSTALL_CONFIG_NAME "Debug")
  14. endif()
  15. message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
  16. endif()
  17. # Set the component getting installed.
  18. if(NOT CMAKE_INSTALL_COMPONENT)
  19. if(COMPONENT)
  20. message(STATUS "Install component: \"${COMPONENT}\"")
  21. set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
  22. else()
  23. set(CMAKE_INSTALL_COMPONENT)
  24. endif()
  25. endif()
  26. # Install shared libraries without execute permission?
  27. if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
  28. set(CMAKE_INSTALL_SO_NO_EXE "1")
  29. endif()
  30. # Is this installation the result of a crosscompile?
  31. if(NOT DEFINED CMAKE_CROSSCOMPILING)
  32. set(CMAKE_CROSSCOMPILING "FALSE")
  33. endif()
  34. if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT)
  35. if(EXISTS "$ENV{DESTDIR}/usr/local/lib/libmc-log.so.1.2.0" AND
  36. NOT IS_SYMLINK "$ENV{DESTDIR}/usr/local/lib/libmc-log.so.1.2.0")
  37. file(RPATH_CHECK
  38. FILE "$ENV{DESTDIR}/usr/local/lib/libmc-log.so.1.2.0"
  39. RPATH "")
  40. endif()
  41. list(APPEND CMAKE_ABSOLUTE_DESTINATION_FILES
  42. "/usr/local/lib/libmc-log.so.1.2.0")
  43. if(CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION)
  44. message(WARNING "ABSOLUTE path INSTALL DESTINATION : ${CMAKE_ABSOLUTE_DESTINATION_FILES}")
  45. endif()
  46. if(CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION)
  47. message(FATAL_ERROR "ABSOLUTE path INSTALL DESTINATION forbidden (by caller): ${CMAKE_ABSOLUTE_DESTINATION_FILES}")
  48. endif()
  49. file(INSTALL DESTINATION "/usr/local/lib" TYPE SHARED_LIBRARY FILES "/home/book/hisi3518_lora/build/lib/libmc-log.so.1.2.0")
  50. if(EXISTS "$ENV{DESTDIR}/usr/local/lib/libmc-log.so.1.2.0" AND
  51. NOT IS_SYMLINK "$ENV{DESTDIR}/usr/local/lib/libmc-log.so.1.2.0")
  52. if(CMAKE_INSTALL_DO_STRIP)
  53. execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}/usr/local/lib/libmc-log.so.1.2.0")
  54. endif()
  55. endif()
  56. endif()
  57. if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT)
  58. if(EXISTS "$ENV{DESTDIR}/usr/local/lib/libmc-log.so" AND
  59. NOT IS_SYMLINK "$ENV{DESTDIR}/usr/local/lib/libmc-log.so")
  60. file(RPATH_CHECK
  61. FILE "$ENV{DESTDIR}/usr/local/lib/libmc-log.so"
  62. RPATH "")
  63. endif()
  64. list(APPEND CMAKE_ABSOLUTE_DESTINATION_FILES
  65. "/usr/local/lib/libmc-log.so")
  66. if(CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION)
  67. message(WARNING "ABSOLUTE path INSTALL DESTINATION : ${CMAKE_ABSOLUTE_DESTINATION_FILES}")
  68. endif()
  69. if(CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION)
  70. message(FATAL_ERROR "ABSOLUTE path INSTALL DESTINATION forbidden (by caller): ${CMAKE_ABSOLUTE_DESTINATION_FILES}")
  71. endif()
  72. file(INSTALL DESTINATION "/usr/local/lib" TYPE SHARED_LIBRARY FILES "/home/book/hisi3518_lora/build/lib/libmc-log.so")
  73. if(EXISTS "$ENV{DESTDIR}/usr/local/lib/libmc-log.so" AND
  74. NOT IS_SYMLINK "$ENV{DESTDIR}/usr/local/lib/libmc-log.so")
  75. if(CMAKE_INSTALL_DO_STRIP)
  76. execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}/usr/local/lib/libmc-log.so")
  77. endif()
  78. endif()
  79. endif()
  80. if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT)
  81. list(APPEND CMAKE_ABSOLUTE_DESTINATION_FILES
  82. "/usr/local/lib/libmc-log.a")
  83. if(CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION)
  84. message(WARNING "ABSOLUTE path INSTALL DESTINATION : ${CMAKE_ABSOLUTE_DESTINATION_FILES}")
  85. endif()
  86. if(CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION)
  87. message(FATAL_ERROR "ABSOLUTE path INSTALL DESTINATION forbidden (by caller): ${CMAKE_ABSOLUTE_DESTINATION_FILES}")
  88. endif()
  89. file(INSTALL DESTINATION "/usr/local/lib" TYPE STATIC_LIBRARY FILES "/home/book/hisi3518_lora/build/lib/libmc-log.a")
  90. endif()