ENH: create new test to test subdir exclude

This commit is contained in:
Bill Hoffman
2004-03-09 16:20:41 -05:00
parent c7067f426f
commit bf699505bc
8 changed files with 64 additions and 0 deletions
@@ -0,0 +1,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")
@@ -0,0 +1,7 @@
#include <stdio.h>
int main()
{
printf("example1\n");
return 0;
}