58 lines
2.3 KiB
CMake
58 lines
2.3 KiB
CMake
# Install script for directory: D:/work_space/02_git_resource/cmake/Tutorial/step1/MathFunctions
|
|
|
|
# Set the install prefix
|
|
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
|
|
set(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/Tutorial")
|
|
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()
|
|
|
|
# Is this installation the result of a crosscompile?
|
|
if(NOT DEFINED CMAKE_CROSSCOMPILING)
|
|
set(CMAKE_CROSSCOMPILING "FALSE")
|
|
endif()
|
|
|
|
# Set default install directory permissions.
|
|
if(NOT DEFINED CMAKE_OBJDUMP)
|
|
set(CMAKE_OBJDUMP "C:/Strawberry/c/bin/objdump.exe")
|
|
endif()
|
|
|
|
if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT)
|
|
file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE STATIC_LIBRARY OPTIONAL FILES "D:/work_space/02_git_resource/cmake/Tutorial/step1/step1_build/libMathFunctions.dll.a")
|
|
endif()
|
|
|
|
if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT)
|
|
file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE SHARED_LIBRARY FILES "D:/work_space/02_git_resource/cmake/Tutorial/step1/step1_build/libMathFunctions.dll")
|
|
if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/libMathFunctions.dll" AND
|
|
NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/libMathFunctions.dll")
|
|
if(CMAKE_INSTALL_DO_STRIP)
|
|
execute_process(COMMAND "C:/Strawberry/c/bin/strip.exe" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/libMathFunctions.dll")
|
|
endif()
|
|
endif()
|
|
endif()
|
|
|
|
if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT)
|
|
file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/include" TYPE FILE FILES "D:/work_space/02_git_resource/cmake/Tutorial/step1/MathFunctions/MathFunctions.h")
|
|
endif()
|
|
|