8 lines
299 B
CMake
Raw Normal View History

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)
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
COMMENT "Remove marker file that should exist because this should not be run")