summaryrefslogtreecommitdiffstats
path: root/Tests/InstallMode/superpro/CMakeLists.txt
blob: ae4d25c1f39c5fa0bf6ed3f829057fcd984cba0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# This CMakeLists.txt is part of the superproject (add_subdirectory).

# Below file transfers are executed at configuration time!

file(
  COPY
    "file_copy.txt"
  DESTINATION
    "${CMAKE_INSTALL_PREFIX}"
)

file(COPY_FILE
  "${CMAKE_CURRENT_SOURCE_DIR}/file_copy_file.txt"
  "${CMAKE_INSTALL_PREFIX}/file_copy_file.txt"
)

file(
  INSTALL
    "file_install.txt"
  DESTINATION
    "${CMAKE_INSTALL_PREFIX}"
)

file(
  CREATE_LINK
    "${CMAKE_CURRENT_SOURCE_DIR}/file_create_link_symbolic.txt"
    "${CMAKE_INSTALL_PREFIX}/file_create_link_symbolic.txt"
  SYMBOLIC
)