summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CXXModules/examples/install-bmi-and-interfaces/check-for-bmi.cmake
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2022-06-15 21:14:43 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2022-07-06 15:38:11 (GMT)
commit4d55f1422efe804a74e08e5f2a362077a0a9b938 (patch)
tree003922a722e8c89888da36a57330d408f05f872b /Tests/RunCMake/CXXModules/examples/install-bmi-and-interfaces/check-for-bmi.cmake
parenteff45f790daf0beb3441961678f40599caf7eded (diff)
downloadCMake-4d55f1422efe804a74e08e5f2a362077a0a9b938.zip
CMake-4d55f1422efe804a74e08e5f2a362077a0a9b938.tar.gz
CMake-4d55f1422efe804a74e08e5f2a362077a0a9b938.tar.bz2
RunCMake/CXXModules: test installation of BMIs and interfaces
Diffstat (limited to 'Tests/RunCMake/CXXModules/examples/install-bmi-and-interfaces/check-for-bmi.cmake')
-rw-r--r--Tests/RunCMake/CXXModules/examples/install-bmi-and-interfaces/check-for-bmi.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/RunCMake/CXXModules/examples/install-bmi-and-interfaces/check-for-bmi.cmake b/Tests/RunCMake/CXXModules/examples/install-bmi-and-interfaces/check-for-bmi.cmake
new file mode 100644
index 0000000..a8ff1ad
--- /dev/null
+++ b/Tests/RunCMake/CXXModules/examples/install-bmi-and-interfaces/check-for-bmi.cmake
@@ -0,0 +1,7 @@
+include("${CMAKE_CURRENT_LIST_DIR}/../cxx-modules-find-bmi.cmake")
+
+report_dirs("${prefix}" "${bmi_destination}")
+check_for_bmi("${prefix}" "${bmi_destination}" importable)
+
+report_dirs("${prefix}" "${fs_destination}")
+check_for_interface("${prefix}" "${fs_destination}" "" importable.cxx)