summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0057/CMP0057-OLD.cmake
blob: ccf4fcb3c5a968b7425dde90b0777f6c121b941f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
cmake_policy(SET CMP0057 OLD)

add_custom_command(OUTPUT out1
  COMMAND ${CMAKE_COMMAND} -E echo out1
  MAIN_DEPENDENCY input.txt
)

add_custom_command(OUTPUT out2
  COMMAND ${CMAKE_COMMAND} -E echo out2
  MAIN_DEPENDENCY input.txt
)

add_custom_target(mytarget1 ALL DEPENDS out1 out2)