mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
In code we use `#include "swift/Lib/Header.h"` which is located in "include/swift/Lib/Header.h", so we use "include/" as a header search path. We should put modulemaps in the same directory and shouldn't rely on clang to search in immediate subdirectories. rdar://106677321
49 lines
1.0 KiB
Plaintext
49 lines
1.0 KiB
Plaintext
module BasicBridging {
|
|
header "swift/Basic/BridgedSwiftObject.h"
|
|
header "swift/Basic/BasicBridging.h"
|
|
header "swift/Basic/SourceLoc.h"
|
|
requires cplusplus
|
|
export *
|
|
}
|
|
|
|
module CBasicBridging {
|
|
header "swift/Basic/CBasicBridging.h"
|
|
}
|
|
|
|
module ASTBridging {
|
|
header "swift/AST/AnyFunctionRef.h"
|
|
header "swift/AST/ASTBridging.h"
|
|
header "swift/AST/Builtins.h"
|
|
header "swift/AST/DiagnosticEngine.h"
|
|
header "swift/AST/DiagnosticConsumer.h"
|
|
header "swift/AST/ForeignAsyncConvention.h"
|
|
header "swift/AST/ForeignErrorConvention.h"
|
|
header "swift/AST/SubstitutionMap.h"
|
|
|
|
textual header "swift/AST/Builtins.def"
|
|
|
|
requires cplusplus
|
|
export *
|
|
}
|
|
|
|
module CASTBridging {
|
|
header "swift/AST/CASTBridging.h"
|
|
}
|
|
|
|
module SILBridging {
|
|
header "swift/SIL/SILBridging.h"
|
|
header "swift/SIL/SILLocation.h"
|
|
requires cplusplus
|
|
export *
|
|
}
|
|
|
|
module OptimizerBridging {
|
|
header "swift/SILOptimizer/OptimizerBridging.h"
|
|
export *
|
|
}
|
|
|
|
module _RegexParserBridging {
|
|
header "swift/Parse/RegexParserBridging.h"
|
|
export *
|
|
}
|