2004-03-10 00:20:41 +03:00
|
|
|
PROJECT(SUBDIR)
|
|
|
|
SUBDIRS(Executable EXCLUDE_FROM_ALL Examples)
|
|
|
|
WRITE_FILE(${SUBDIR_BINARY_DIR}/ShouldBeHere "This file should exist.")
|
2004-04-27 01:32:56 +04:00
|
|
|
|
2004-04-27 17:22:57 +04:00
|
|
|
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})
|