summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/InterfaceLibrary/invalid_signature.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/InterfaceLibrary/invalid_signature.cmake')
-rw-r--r--Tests/RunCMake/InterfaceLibrary/invalid_signature.cmake20
1 files changed, 20 insertions, 0 deletions
diff --git a/Tests/RunCMake/InterfaceLibrary/invalid_signature.cmake b/Tests/RunCMake/InterfaceLibrary/invalid_signature.cmake
new file mode 100644
index 0000000..2a575b5
--- /dev/null
+++ b/Tests/RunCMake/InterfaceLibrary/invalid_signature.cmake
@@ -0,0 +1,20 @@
+
+
+add_library(iface3 STATIC INTERFACE)
+add_library(iface4 STATIC INTERFACE empty.cpp)
+add_library(iface5 SHARED INTERFACE)
+add_library(iface6 MODULE INTERFACE)
+add_library(iface7 OBJECT INTERFACE)
+add_library(iface8 UNKNOWN INTERFACE)
+add_library(iface9 INTERFACE STATIC)
+add_library(iface10 INTERFACE SHARED)
+add_library(iface11 INTERFACE MODULE)
+add_library(iface12 INTERFACE OBJECT)
+add_library(iface13 INTERFACE UNKNOWN)
+add_library(iface14 INTERFACE ALIAS)
+add_library(iface15 ALIAS INTERFACE)
+add_library(iface16 INTERFACE INTERFACE)
+
+
+# add_library(iface19 GLOBAL INTERFACE) Tested separately
+add_library(iface20 INTERFACE GLOBAL)