mirror of
https://github.com/gosticks/SwiftGit2.git
synced 2025-10-16 11:55:34 +00:00
Add export and inferred submodule declarations to the libgit2 modulemap
This commit is contained in:
parent
a4072adf1e
commit
d1b72d059d
@ -1,6 +1,9 @@
|
||||
module libgit2 {
|
||||
umbrella header "git2.h"
|
||||
|
||||
export *
|
||||
module * { export * }
|
||||
|
||||
// Exclude headers intended only for Microsoft compilers
|
||||
exclude header "git2/inttypes.h"
|
||||
exclude header "git2/stdint.h"
|
||||
@ -8,14 +11,21 @@ module libgit2 {
|
||||
// Explicit modules for headers not included in the umbrella header:
|
||||
explicit module cred_helpers {
|
||||
header "git2/cred_helpers.h"
|
||||
|
||||
export *
|
||||
}
|
||||
|
||||
explicit module trace {
|
||||
header "git2/trace.h"
|
||||
|
||||
export *
|
||||
}
|
||||
|
||||
// Explicit module for the "sys" headers:
|
||||
explicit module sys {
|
||||
umbrella "git2/sys"
|
||||
|
||||
export *
|
||||
module * { export * }
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user