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.
11 lines
537 B
11 lines
537 B
add_custom_command(
|
|
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/../Generated_source3.txt"
|
|
COMMAND ${CMAKE_COMMAND} -E copy "${CMAKE_CURRENT_SOURCE_DIR}/Source.txt.in"
|
|
"${CMAKE_CURRENT_BINARY_DIR}/../Generated_source3.txt"
|
|
)
|
|
add_custom_command(TARGET custom4 PRE_BUILD
|
|
COMMAND ${CMAKE_COMMAND} -E copy "${CMAKE_CURRENT_SOURCE_DIR}/Source.txt.in"
|
|
"${CMAKE_CURRENT_BINARY_DIR}/../Generated_source4.txt"
|
|
BYPRODUCT "${CMAKE_CURRENT_BINARY_DIR}/../Generated_source4.txt"
|
|
)
|