2008-03-25 18:27:18 +03:00
|
|
|
cmake_minimum_required (VERSION 2.6)
|
2012-08-13 21:47:32 +04:00
|
|
|
project(example1)
|
|
|
|
add_executable(example1 example1.cxx)
|
2004-03-10 00:20:41 +03:00
|
|
|
|
2012-08-13 21:47:32 +04:00
|
|
|
add_custom_command(TARGET example1 POST_BUILD
|
2004-03-10 00:20:41 +03:00
|
|
|
COMMAND "${CMAKE_COMMAND}" ARGS -E remove ${SUBDIR_BINARY_DIR}/ShouldBeHere
|
|
|
|
COMMENT "Remove marker file that should exist because this should not be run")
|