summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/add_subdirectory/Function-stdout.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-11-23 15:51:37 (GMT)
committerBrad King <brad.king@kitware.com>2015-11-23 15:52:51 (GMT)
commit010c5959864a10f4b83907fb058006e118dd740d (patch)
treecc363037f7824c17d0f797d04bb287085711719b /Tests/RunCMake/add_subdirectory/Function-stdout.txt
parent29c1385675df37146465e820d303de3cdd703e8c (diff)
downloadCMake-010c5959864a10f4b83907fb058006e118dd740d.zip
CMake-010c5959864a10f4b83907fb058006e118dd740d.tar.gz
CMake-010c5959864a10f4b83907fb058006e118dd740d.tar.bz2
Tests: Add case for add_subdirectory inside a function
Diffstat (limited to 'Tests/RunCMake/add_subdirectory/Function-stdout.txt')
-rw-r--r--Tests/RunCMake/add_subdirectory/Function-stdout.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/RunCMake/add_subdirectory/Function-stdout.txt b/Tests/RunCMake/add_subdirectory/Function-stdout.txt
new file mode 100644
index 0000000..16fa857
--- /dev/null
+++ b/Tests/RunCMake/add_subdirectory/Function-stdout.txt
@@ -0,0 +1,10 @@
+-- var='1' before my_add_subdirectory
+-- var='2' in my_add_subdirectory before add_subdirectory
+-- var='2' in subdirectory before set
+-- var='3' in subdirectory after set
+-- var_sub='' in subdirectory after set PARENT_SCOPE
+-- var='2' in my_add_subdirectory after add_subdirectory
+-- var_sub='sub' in my_add_subdirectory after add_subdirectory
+-- var='1' after my_add_subdirectory
+-- var_sub='' after my_add_subdirectory
+-- var='3' taken from subdirectory