mirror of
https://github.com/apple/swift.git
synced 2026-10-28 21:15:56 +01:00
Extract the WinRT module from WinSDK. This resides in a separate directory (winrt). Similar to how the UM and shared directories are now proper submodules, create an isolated subdirectory for the system vended WinRT module. Unfortunately, due to a cycle, we need to add a shim header to allow us to break the WinSDK.UM/WinSDK.WinRT interdependency.
18 lines
670 B
Plaintext
18 lines
670 B
Plaintext
//===--- WinSDK.modulemap -------------------------------------------------===//
|
|
//
|
|
// This source file is part of the Swift.org open source project
|
|
//
|
|
// Copyright (c) 2014 - 2026 Apple Inc. and the Swift project authors
|
|
// Licensed under Apache License v2.0 with Runtime Library Exception
|
|
//
|
|
// See https://swift.org/LICENSE.txt for license information
|
|
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
module WinSDK [system] {
|
|
extern module UM "um.modulemap"
|
|
extern module Shared "shared.modulemap"
|
|
extern module WinRT "winrt/module.modulemap"
|
|
}
|