summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/Swift/Win32ExecutableDisallowed.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/Swift/Win32ExecutableDisallowed.cmake')
-rw-r--r--Tests/RunCMake/Swift/Win32ExecutableDisallowed.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/RunCMake/Swift/Win32ExecutableDisallowed.cmake b/Tests/RunCMake/Swift/Win32ExecutableDisallowed.cmake
new file mode 100644
index 0000000..02d5447
--- /dev/null
+++ b/Tests/RunCMake/Swift/Win32ExecutableDisallowed.cmake
@@ -0,0 +1,4 @@
+enable_language(Swift)
+add_executable(E E.swift)
+set_target_properties(E PROPERTIES
+ WIN32_EXECUTABLE TRUE)