summaryrefslogtreecommitdiffstats
path: root/Tests/SubDir/Examples/example1/CMakeLists.txt
blob: 20d065e542f3136b0cf7bb1e1fa79d39e6b41232 (plain)
1
2
3
4
5
6
7
cmake_minimum_required (VERSION 2.6)
project(example1)
add_executable(example1 example1.cxx)

add_custom_command(TARGET example1 POST_BUILD
  COMMAND "${CMAKE_COMMAND}" ARGS -E remove ${SUBDIR_BINARY_DIR}/ShouldBeHere
  COMMENT "Remove marker file that should exist because this should not be run")