blob: cdb888403ad7013c6dbd3f9a358676aa99aa0d90 (
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
30
|
file(GENERATE
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/Generated_source4.txt"
CONTENT "int func();\nint main(){ return func(); }"
)
file(GENERATE
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/Generated_source5.txt"
CONTENT "int func();\nint main(){ return func(); }"
)
file(GENERATE
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/Generated_source6.txt"
CONTENT "int func();\nint main(){ return func(); }"
)
set_property(SOURCE "${CMAKE_CURRENT_BINARY_DIR}/../Generated_source1.txt"
PROPERTY GENERATED "0")
set_property(SOURCE "${CMAKE_CURRENT_BINARY_DIR}/../Generated_source2.txt"
DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/.."
PROPERTY GENERATED "0")
set_property(SOURCE "${CMAKE_CURRENT_BINARY_DIR}/../Generated_source3.txt"
TARGET_DIRECTORY custom1
PROPERTY GENERATED "0")
set_property(SOURCE "${CMAKE_CURRENT_BINARY_DIR}/../Generated_source4.txt"
PROPERTY GENERATED "0")
set_property(SOURCE "${CMAKE_CURRENT_BINARY_DIR}/../Generated_source5.txt"
DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/.."
PROPERTY GENERATED "0")
set_property(SOURCE "${CMAKE_CURRENT_BINARY_DIR}/../Generated_source6.txt"
TARGET_DIRECTORY custom1
PROPERTY GENERATED "0")
|