Build.cmake 161 B

12345
  1. add_custom_command(
  2. OUTPUT output.txt
  3. COMMAND ${CMAKE_COMMAND} -E echo CustomCommand > output.txt
  4. )
  5. add_custom_target(CustomTarget ALL DEPENDS output.txt)