summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/add_subdirectory/ExcludeFromAll/subinc.cpp
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-09-26 18:47:53 (GMT)
committerBrad King <brad.king@kitware.com>2019-09-26 18:58:26 (GMT)
commitcf01d3d2bd649ab1157641b3212a360b06db747f (patch)
tree0bbeed9725d861e441a701d937fbbec6c3da446f /Tests/RunCMake/add_subdirectory/ExcludeFromAll/subinc.cpp
parent21442d72a44c2bd732f2ff19ed89ce488854d25d (diff)
downloadCMake-cf01d3d2bd649ab1157641b3212a360b06db747f.zip
CMake-cf01d3d2bd649ab1157641b3212a360b06db747f.tar.gz
CMake-cf01d3d2bd649ab1157641b3212a360b06db747f.tar.bz2
Tests: Clarify target names in RunCMake.add_subdirectory ExcludeFromAll
Rename the `baz` target to `subinc` to clarify that its role is to be included even though it is in an otherwise excluded subdirectory.
Diffstat (limited to 'Tests/RunCMake/add_subdirectory/ExcludeFromAll/subinc.cpp')
-rw-r--r--Tests/RunCMake/add_subdirectory/ExcludeFromAll/subinc.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/RunCMake/add_subdirectory/ExcludeFromAll/subinc.cpp b/Tests/RunCMake/add_subdirectory/ExcludeFromAll/subinc.cpp
new file mode 100644
index 0000000..e9faacd
--- /dev/null
+++ b/Tests/RunCMake/add_subdirectory/ExcludeFromAll/subinc.cpp
@@ -0,0 +1,4 @@
+int subinc()
+{
+ return 0;
+}