diff options
author | RITUait | 2018-06-02 19:23:20 +0530 |
---|---|---|
committer | RITUait | 2018-06-02 19:23:20 +0530 |
commit | 5d49ecc930d6428512798f4bdb1cb8b1bb816ca5 (patch) | |
tree | 682a3a752313e666de47d365c2029b130f916590 /Source/cmake_install.cmake | |
parent | c4223ee955f9af546b9ece9a0ef8d77f9c8b03d8 (diff) | |
parent | fefaf700250d88595273b038909fe95d7602d125 (diff) | |
download | OpenModelicaEmbedded-5d49ecc930d6428512798f4bdb1cb8b1bb816ca5.tar.gz OpenModelicaEmbedded-5d49ecc930d6428512798f4bdb1cb8b1bb816ca5.tar.bz2 OpenModelicaEmbedded-5d49ecc930d6428512798f4bdb1cb8b1bb816ca5.zip |
resolved issues between master and Ritu-Kanwar-Shekhawat branch
Diffstat (limited to 'Source/cmake_install.cmake')
-rw-r--r-- | Source/cmake_install.cmake | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/Source/cmake_install.cmake b/Source/cmake_install.cmake new file mode 100644 index 0000000..4ccf09d --- /dev/null +++ b/Source/cmake_install.cmake @@ -0,0 +1,44 @@ +# Install script for directory: /home/user/Downloads/libs/Source + +# 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 "Release") + 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() + +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 "/home/user/Downloads/libs/Source/${CMAKE_INSTALL_MANIFEST}" + "${CMAKE_INSTALL_MANIFEST_CONTENT}") |