69 lines
2.6 KiB
CMake
69 lines
2.6 KiB
CMake
# Install script for directory: /media/sf_share/gateway/unit_test/test/hello
|
|
|
|
# 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 "")
|
|
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 "1")
|
|
endif()
|
|
|
|
# Is this installation the result of a crosscompile?
|
|
if(NOT DEFINED CMAKE_CROSSCOMPILING)
|
|
set(CMAKE_CROSSCOMPILING "TRUE")
|
|
endif()
|
|
|
|
# Set default install directory permissions.
|
|
if(NOT DEFINED CMAKE_OBJDUMP)
|
|
set(CMAKE_OBJDUMP "/home/vboxuser/tools/ndk/android-ndk-r22b/toolchains/llvm/prebuilt/linux-x86_64/bin/arm-linux-androideabi-objdump")
|
|
endif()
|
|
|
|
if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT)
|
|
if(EXISTS "$ENV{DESTDIR}/media/sf_share/gateway/build/../bin/main" AND
|
|
NOT IS_SYMLINK "$ENV{DESTDIR}/media/sf_share/gateway/build/../bin/main")
|
|
file(RPATH_CHECK
|
|
FILE "$ENV{DESTDIR}/media/sf_share/gateway/build/../bin/main"
|
|
RPATH "")
|
|
endif()
|
|
list(APPEND CMAKE_ABSOLUTE_DESTINATION_FILES
|
|
"/media/sf_share/gateway/build/../bin/main")
|
|
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 "/media/sf_share/gateway/build/../bin" TYPE EXECUTABLE FILES "/media/sf_share/gateway/build/unit_test/test/hello/main")
|
|
if(EXISTS "$ENV{DESTDIR}/media/sf_share/gateway/build/../bin/main" AND
|
|
NOT IS_SYMLINK "$ENV{DESTDIR}/media/sf_share/gateway/build/../bin/main")
|
|
if(CMAKE_INSTALL_DO_STRIP)
|
|
execute_process(COMMAND "/home/vboxuser/tools/ndk/android-ndk-r22b/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-strip" "$ENV{DESTDIR}/media/sf_share/gateway/build/../bin/main")
|
|
endif()
|
|
endif()
|
|
endif()
|
|
|