annotate sample/cmake_install.cmake @ 16:87d79fc7f1cf draft

add generation
author ikkun
date Sat, 17 Jun 2017 11:36:23 +0900
parents 33cbafd41036
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10
33cbafd41036 add ninja
ikkun <ikkun@cr.ie.u-ryukyu.ac.jp>
parents: 9
diff changeset
1 # Install script for directory: /Users/e135704/seminar/osc/ikkun-osc/sample
1
4153915c519f add sample
ikkun <ikkun@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
2
4153915c519f add sample
ikkun <ikkun@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
3 # Set the install prefix
4153915c519f add sample
ikkun <ikkun@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
4 if(NOT DEFINED CMAKE_INSTALL_PREFIX)
4153915c519f add sample
ikkun <ikkun@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
5 set(CMAKE_INSTALL_PREFIX "/usr/local")
4153915c519f add sample
ikkun <ikkun@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
6 endif()
4153915c519f add sample
ikkun <ikkun@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
7 string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
4153915c519f add sample
ikkun <ikkun@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
8
4153915c519f add sample
ikkun <ikkun@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
9 # Set the install configuration name.
4153915c519f add sample
ikkun <ikkun@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
10 if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
4153915c519f add sample
ikkun <ikkun@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
11 if(BUILD_TYPE)
4153915c519f add sample
ikkun <ikkun@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
12 string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
4153915c519f add sample
ikkun <ikkun@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
13 CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
4153915c519f add sample
ikkun <ikkun@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
14 else()
4153915c519f add sample
ikkun <ikkun@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
15 set(CMAKE_INSTALL_CONFIG_NAME "")
4153915c519f add sample
ikkun <ikkun@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
16 endif()
4153915c519f add sample
ikkun <ikkun@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
17 message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
4153915c519f add sample
ikkun <ikkun@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
18 endif()
4153915c519f add sample
ikkun <ikkun@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
19
4153915c519f add sample
ikkun <ikkun@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
20 # Set the component getting installed.
4153915c519f add sample
ikkun <ikkun@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
21 if(NOT CMAKE_INSTALL_COMPONENT)
4153915c519f add sample
ikkun <ikkun@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
22 if(COMPONENT)
4153915c519f add sample
ikkun <ikkun@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
23 message(STATUS "Install component: \"${COMPONENT}\"")
4153915c519f add sample
ikkun <ikkun@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
24 set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
4153915c519f add sample
ikkun <ikkun@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
25 else()
4153915c519f add sample
ikkun <ikkun@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
26 set(CMAKE_INSTALL_COMPONENT)
4153915c519f add sample
ikkun <ikkun@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
27 endif()
4153915c519f add sample
ikkun <ikkun@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
28 endif()
4153915c519f add sample
ikkun <ikkun@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
29
4153915c519f add sample
ikkun <ikkun@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
30 if(CMAKE_INSTALL_COMPONENT)
4153915c519f add sample
ikkun <ikkun@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
31 set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt")
4153915c519f add sample
ikkun <ikkun@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
32 else()
4153915c519f add sample
ikkun <ikkun@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
33 set(CMAKE_INSTALL_MANIFEST "install_manifest.txt")
4153915c519f add sample
ikkun <ikkun@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
34 endif()
4153915c519f add sample
ikkun <ikkun@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
35
4153915c519f add sample
ikkun <ikkun@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
36 string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT
4153915c519f add sample
ikkun <ikkun@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
37 "${CMAKE_INSTALL_MANIFEST_FILES}")
10
33cbafd41036 add ninja
ikkun <ikkun@cr.ie.u-ryukyu.ac.jp>
parents: 9
diff changeset
38 file(WRITE "/Users/e135704/seminar/osc/ikkun-osc/sample/${CMAKE_INSTALL_MANIFEST}"
1
4153915c519f add sample
ikkun <ikkun@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
39 "${CMAKE_INSTALL_MANIFEST_CONTENT}")