ENH: added new test for out of dir source trees
This commit is contained in:
parent
7a68698b6f
commit
f7c024df2a
3
Tests/OutOfSource/CMakeLists.txt
Normal file
3
Tests/OutOfSource/CMakeLists.txt
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# a simple test case
|
||||||
|
PROJECT (OutOfSource)
|
||||||
|
SUBDIRS(SubDir)
|
1
Tests/OutOfSource/OutOfSourceSubdir/CMakeLists.txt
Normal file
1
Tests/OutOfSource/OutOfSourceSubdir/CMakeLists.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
ADD_EXECUTABLE (simple simple.cxx)
|
4
Tests/OutOfSource/OutOfSourceSubdir/simple.cxx
Normal file
4
Tests/OutOfSource/OutOfSourceSubdir/simple.cxx
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
int main ()
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
2
Tests/OutOfSource/SubDir/CMakeLists.txt
Normal file
2
Tests/OutOfSource/SubDir/CMakeLists.txt
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# subdir to a sibling dir
|
||||||
|
SUBDIRS(${PROJECT_SOURCE_DIR}/OutOfSourceSubdir)
|
Loading…
x
Reference in New Issue
Block a user