2024-11-11 15:18:55 +01:00
|
|
|
cmake_minimum_required (VERSION 3.10)
|
2013-03-16 19:13:01 +02:00
|
|
|
project(example1)
|
|
|
|
add_executable(example1 example1.cxx)
|
2008-10-12 18:41:06 +02:00
|
|
|
|
2013-03-16 19:13:01 +02:00
|
|
|
add_custom_command(TARGET example1 POST_BUILD
|
2020-08-30 11:54:41 +02:00
|
|
|
COMMAND "${CMAKE_COMMAND}" ARGS -E rm -f ${SUBDIR_BINARY_DIR}/ShouldBeHere
|
2008-10-12 18:41:06 +02:00
|
|
|
COMMENT "Remove marker file that should exist because this should not be run")
|