You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
477 B

# Note: Currently, `file(GENERATE)` does not set the `GENERATED` property!
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(); }"
)