Skip to content

Commit 46fda7b

Browse files
committed
Include libgit2 headers in our module.
1 parent e051eff commit 46fda7b

File tree

2 files changed

+68
-0
lines changed

2 files changed

+68
-0
lines changed

ObjectiveGitFramework.xcodeproj/project.pbxproj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -451,6 +451,7 @@
451451
8870390A1975E3F2004118D7 /* GTDiffDeltaSpec.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GTDiffDeltaSpec.m; sourceTree = "<group>"; };
452452
88746CC217FA1C950005888A /* GTRepository+Committing.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "GTRepository+Committing.h"; sourceTree = "<group>"; };
453453
88746CC317FA1C950005888A /* GTRepository+Committing.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "GTRepository+Committing.m"; sourceTree = "<group>"; };
454+
887B948D1A3A38130070D41D /* module.map */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.module-map"; path = module.map; sourceTree = "<group>"; };
454455
887DAFF615CB1C8000F30D0D /* Security.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Security.framework; path = System/Library/Frameworks/Security.framework; sourceTree = SDKROOT; };
455456
88948AC81779243600809CDA /* GTObjectDatabaseSpec.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GTObjectDatabaseSpec.m; sourceTree = "<group>"; };
456457
889923F919FF5DD40092A9A6 /* git2 */ = {isa = PBXFileReference; lastKnownFileType = folder; name = git2; path = External/libgit2/include/git2; sourceTree = "<group>"; };
@@ -606,6 +607,7 @@
606607
isa = PBXGroup;
607608
children = (
608609
BDD8AB01130F01AB00CB5D40 /* README.md */,
610+
887B948D1A3A38130070D41D /* module.map */,
609611
BDE4C05E130EFE2C00851650 /* ObjectiveGit */,
610612
88F05A7516011E5400B7AD1D /* ObjectiveGitTests */,
611613
32C88DFF0371C24200C91783 /* Other Sources */,
@@ -1429,6 +1431,7 @@
14291431
DYLIB_CURRENT_VERSION = 1;
14301432
FRAMEWORK_VERSION = A;
14311433
INFOPLIST_FILE = Info.plist;
1434+
MODULEMAP_FILE = module.map;
14321435
OTHER_LDFLAGS = (
14331436
"-lgit2",
14341437
"-force_load",
@@ -1450,6 +1453,7 @@
14501453
DYLIB_CURRENT_VERSION = 1;
14511454
FRAMEWORK_VERSION = A;
14521455
INFOPLIST_FILE = Info.plist;
1456+
MODULEMAP_FILE = module.map;
14531457
OTHER_LDFLAGS = (
14541458
"-lgit2",
14551459
"-force_load",
@@ -1631,6 +1635,7 @@
16311635
DYLIB_CURRENT_VERSION = 1;
16321636
FRAMEWORK_VERSION = A;
16331637
INFOPLIST_FILE = Info.plist;
1638+
MODULEMAP_FILE = module.map;
16341639
OTHER_LDFLAGS = (
16351640
"-lgit2",
16361641
"-force_load",
@@ -1846,6 +1851,7 @@
18461851
DYLIB_CURRENT_VERSION = 1;
18471852
FRAMEWORK_VERSION = A;
18481853
INFOPLIST_FILE = Info.plist;
1854+
MODULEMAP_FILE = module.map;
18491855
OTHER_LDFLAGS = (
18501856
"-lgit2",
18511857
"-force_load",

module.map

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
framework module ObjectiveGit {
2+
umbrella header "ObjectiveGit.h"
3+
4+
header "git2/annotated_commit.h"
5+
header "git2/attr.h"
6+
header "git2/blob.h"
7+
header "git2/blame.h"
8+
header "git2/branch.h"
9+
header "git2/buffer.h"
10+
header "git2/checkout.h"
11+
header "git2/cherrypick.h"
12+
header "git2/clone.h"
13+
header "git2/commit.h"
14+
header "git2/common.h"
15+
header "git2/config.h"
16+
header "git2/describe.h"
17+
header "git2/diff.h"
18+
header "git2/errors.h"
19+
header "git2/filter.h"
20+
header "git2/graph.h"
21+
header "git2/ignore.h"
22+
header "git2/index.h"
23+
header "git2/indexer.h"
24+
header "git2/merge.h"
25+
header "git2/message.h"
26+
header "git2/net.h"
27+
header "git2/notes.h"
28+
header "git2/object.h"
29+
header "git2/odb.h"
30+
header "git2/odb_backend.h"
31+
header "git2/oid.h"
32+
header "git2/oidarray.h"
33+
header "git2/pack.h"
34+
header "git2/patch.h"
35+
header "git2/pathspec.h"
36+
header "git2/push.h"
37+
header "git2/rebase.h"
38+
header "git2/refdb.h"
39+
header "git2/reflog.h"
40+
header "git2/refs.h"
41+
header "git2/refspec.h"
42+
header "git2/remote.h"
43+
header "git2/repository.h"
44+
header "git2/reset.h"
45+
header "git2/revert.h"
46+
header "git2/revparse.h"
47+
header "git2/revwalk.h"
48+
header "git2/signature.h"
49+
header "git2/stash.h"
50+
header "git2/status.h"
51+
header "git2/strarray.h"
52+
header "git2/submodule.h"
53+
header "git2/tag.h"
54+
header "git2/threads.h"
55+
header "git2/transport.h"
56+
header "git2/tree.h"
57+
header "git2/types.h"
58+
header "git2/version.h"
59+
60+
export *
61+
module * { export * }
62+
}

0 commit comments

Comments
 (0)