blob: df4ef83c060a85ab6ea36bb0ab232f87818b8d20 [file]
cmake_minimum_required(VERSION 3.10)
project(example1)
add_executable(example1 example1.cxx)
add_custom_command(TARGET example1 POST_BUILD
COMMAND "${CMAKE_COMMAND}" ARGS -E rm -f ${SUBDIR_BINARY_DIR}/ShouldBeHere
COMMENT "Remove marker file that should exist because this should not be run")