Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
5c37f005
Commit
5c37f005
authored
Sep 01, 2013
by
Krzysztof Adamski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Build all example files if BUILD_EXAMPLES used.
parent
255836dd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
CMakeLists.txt
+15
-0
No files found.
CMakeLists.txt
View file @
5c37f005
...
@@ -426,4 +426,19 @@ IF (BUILD_EXAMPLES)
...
@@ -426,4 +426,19 @@ IF (BUILD_EXAMPLES)
ADD_EXECUTABLE(git-rev-list examples/rev-list.c)
ADD_EXECUTABLE(git-rev-list examples/rev-list.c)
TARGET_LINK_LIBRARIES(git-rev-list git2)
TARGET_LINK_LIBRARIES(git-rev-list git2)
ADD_EXECUTABLE(git-rev-parse examples/rev-parse.c)
TARGET_LINK_LIBRARIES(git-rev-parse git2)
ADD_EXECUTABLE(git-log examples/log.c)
TARGET_LINK_LIBRARIES(git-log git2)
ADD_EXECUTABLE(git-status examples/status.c)
TARGET_LINK_LIBRARIES(git-status git2)
ADD_EXECUTABLE(git-init examples/init.c)
TARGET_LINK_LIBRARIES(git-init git2)
ADD_EXECUTABLE(git-cat-file examples/cat-file.c)
TARGET_LINK_LIBRARIES(git-cat-file git2)
ENDIF ()
ENDIF ()
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment