summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/add_custom_command/BadByproduct.cmake
blob: cf00f5b8525c972e1ab2340d3a4cfd3fc876f11a (plain)
1
2
3
4
5
6
7
8
9
set(CMAKE_DISABLE_SOURCE_CHANGES ON)
add_custom_command(OUTPUT a BYPRODUCTS "a#")
add_custom_command(OUTPUT b BYPRODUCTS "a<")
add_custom_command(OUTPUT c BYPRODUCTS "a>")
add_custom_command(OUTPUT d BYPRODUCTS "$<CONFIG>/#")
add_custom_command(OUTPUT e BYPRODUCTS ${CMAKE_CURRENT_SOURCE_DIR}/f)
add_custom_command(OUTPUT f BYPRODUCTS "$<TARGET_PROPERTY:prop>")
add_custom_command(OUTPUT h BYPRODUCTS "$<OUTPUT_CONFIG:h>")
add_custom_command(OUTPUT i BYPRODUCTS "$<COMMAND_CONFIG:i>")