CMakeLists.txt 299 B

1234567
  1. cmake_minimum_required (VERSION 2.6)
  2. project(example1)
  3. add_executable(example1 example1.cxx)
  4. add_custom_command(TARGET example1 POST_BUILD
  5. COMMAND "${CMAKE_COMMAND}" ARGS -E remove ${SUBDIR_BINARY_DIR}/ShouldBeHere
  6. COMMENT "Remove marker file that should exist because this should not be run")