mirror of
https://github.com/serge1/ELFIO.git
synced 2024-11-02 11:27:03 +00:00
78 lines
3.1 KiB
CMake
78 lines
3.1 KiB
CMake
# Install script for directory: F:/Projects/elfio
|
|
|
|
# Set the install prefix
|
|
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
|
|
set(CMAKE_INSTALL_PREFIX "F:/Projects/elfio/out/install/x64-Debug")
|
|
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()
|
|
|
|
# Is this installation the result of a crosscompile?
|
|
if(NOT DEFINED CMAKE_CROSSCOMPILING)
|
|
set(CMAKE_CROSSCOMPILING "FALSE")
|
|
endif()
|
|
|
|
if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT)
|
|
file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/elfio/cmake" TYPE FILE FILES
|
|
"F:/Projects/elfio/out/build/x64-Debug/elfioConfig.cmake"
|
|
"F:/Projects/elfio/out/build/x64-Debug/elfioConfigVersion.cmake"
|
|
)
|
|
endif()
|
|
|
|
if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT)
|
|
file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/include" TYPE DIRECTORY FILES "F:/Projects/elfio/elfio")
|
|
endif()
|
|
|
|
if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT)
|
|
if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/share/elfio/cmake/elfioTargets.cmake")
|
|
file(DIFFERENT EXPORT_FILE_CHANGED FILES
|
|
"$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/share/elfio/cmake/elfioTargets.cmake"
|
|
"F:/Projects/elfio/out/build/x64-Debug/CMakeFiles/Export/share/elfio/cmake/elfioTargets.cmake")
|
|
if(EXPORT_FILE_CHANGED)
|
|
file(GLOB OLD_CONFIG_FILES "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/share/elfio/cmake/elfioTargets-*.cmake")
|
|
if(OLD_CONFIG_FILES)
|
|
message(STATUS "Old export file \"$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/share/elfio/cmake/elfioTargets.cmake\" will be replaced. Removing files [${OLD_CONFIG_FILES}].")
|
|
file(REMOVE ${OLD_CONFIG_FILES})
|
|
endif()
|
|
endif()
|
|
endif()
|
|
file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/elfio/cmake" TYPE FILE FILES "F:/Projects/elfio/out/build/x64-Debug/CMakeFiles/Export/share/elfio/cmake/elfioTargets.cmake")
|
|
endif()
|
|
|
|
if(NOT CMAKE_INSTALL_LOCAL_ONLY)
|
|
# Include the install script for each subdirectory.
|
|
include("F:/Projects/elfio/out/build/x64-Debug/examples/cmake_install.cmake")
|
|
|
|
endif()
|
|
|
|
if(CMAKE_INSTALL_COMPONENT)
|
|
set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt")
|
|
else()
|
|
set(CMAKE_INSTALL_MANIFEST "install_manifest.txt")
|
|
endif()
|
|
|
|
string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT
|
|
"${CMAKE_INSTALL_MANIFEST_FILES}")
|
|
file(WRITE "F:/Projects/elfio/out/build/x64-Debug/${CMAKE_INSTALL_MANIFEST}"
|
|
"${CMAKE_INSTALL_MANIFEST_CONTENT}")
|