summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CXXModules/examples/req-private-other-target/priv.cxx
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2023-05-14 21:24:41 (GMT)
committerBrad King <brad.king@kitware.com>2023-05-18 12:34:31 (GMT)
commit69e452524129552e4891feb7949c4af1567a525f (patch)
tree6cd58a5277f1712be707d94989caceb3e7ef3c92 /Tests/RunCMake/CXXModules/examples/req-private-other-target/priv.cxx
parent18f87c87f86473dd2106b6d8ab7acc9def99b9b1 (diff)
downloadCMake-69e452524129552e4891feb7949c4af1567a525f.zip
CMake-69e452524129552e4891feb7949c4af1567a525f.tar.gz
CMake-69e452524129552e4891feb7949c4af1567a525f.tar.bz2
Tests/CXXModules: add example for private modules between targets
Adapted from the example in issue #24652 by Ivan Garramona.
Diffstat (limited to 'Tests/RunCMake/CXXModules/examples/req-private-other-target/priv.cxx')
-rw-r--r--Tests/RunCMake/CXXModules/examples/req-private-other-target/priv.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/CXXModules/examples/req-private-other-target/priv.cxx b/Tests/RunCMake/CXXModules/examples/req-private-other-target/priv.cxx
new file mode 100644
index 0000000..a7cad3b
--- /dev/null
+++ b/Tests/RunCMake/CXXModules/examples/req-private-other-target/priv.cxx
@@ -0,0 +1 @@
+export module lib.priv;