summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CommandLine/Build.cmake
blob: 20df108ef94da4939b535a70600c97c5bd30819e (plain)
1
2
3
4
5
add_custom_command(
  OUTPUT output.txt
  COMMAND ${CMAKE_COMMAND} -E echo CustomCommand > output.txt
  )
add_custom_target(CustomTarget ALL DEPENDS output.txt)