blob: 5cf885945b2f24d78cc2c03f3d4f8e27b47ba32e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
PROJECT(SUBDIR)
SUBDIRS(Executable EXCLUDE_FROM_ALL Examples)
WRITE_FILE(${SUBDIR_BINARY_DIR}/ShouldBeHere "This file should exist.")
ADD_EXECUTABLE(TestFromSubdir
AnotherSubdir/testfromsubdir.c
AnotherSubdir/secondone
AnotherSubdir/pair+int.int.c
vcl_algorithm+vcl_pair+double.foo.c
)
AUX_SOURCE_DIRECTORY(ThirdSubDir SOURCES)
SET(SOURCES ${SOURCES}
vcl_algorithm+vcl_pair+double.foo.c)
MESSAGE("Sources: ${SOURCES}")
ADD_EXECUTABLE(TestWithAuxSourceDir ${SOURCES})
|