Skip to content

Commit 9647c06

Browse files
committed
Sigh
1 parent 21393c3 commit 9647c06

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# This source file is part of the Swift.org open source project
2+
#
3+
# Copyright (c) 2024–2025 Apple Inc. and the Swift project authors
4+
# Licensed under Apache License v2.0 with Runtime Library Exception
5+
#
6+
# See http://swift.org/LICENSE.txt for license information
7+
# See http://swift.org/CONTRIBUTORS.txt for Swift project authors
8+
9+
if (CMAKE_SYSTEM_NAME STREQUAL "Windows")
10+
add_library(_Testing_WinSDK
11+
Attachments/_AttachableImageWrapper+AttachableWrapper.swift
12+
Attachments/AttachableAsIWICBitmapSource.swift
13+
Attachments/AttachableImageFormat+CLSID.swift
14+
Attachments/Attachment+AttachableAsIWICBitmapSource.swift
15+
Attachments/HBITMAP+AttachableAsIWICBitmapSource.swift
16+
Attachments/HICON+AttachableAsIWICBitmapSource.swift
17+
Attachments/IWICBitmapSource+AttachableAsIWICBitmapSource.swift
18+
Attachments/UnsafeMutablePointer+AttachableAsIWICBitmapSource.swift
19+
ReexportTesting.swift)
20+
21+
target_link_libraries(_Testing_WinSDK PUBLIC
22+
Testing)
23+
24+
target_compile_options(_Testing_WinSDK PRIVATE
25+
-enable-library-evolution
26+
-emit-module-interface -emit-module-interface-path $<TARGET_PROPERTY:_Testing_WinSDK,Swift_MODULE_DIRECTORY>/_Testing_WinSDK.swiftinterface)
27+
28+
_swift_testing_install_target(_Testing_WinSDK)
29+
endif()
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version: 1
2+
modules:
3+
- name: _Testing_WinSDK

0 commit comments

Comments
 (0)