summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1c70ec2d6..317ed1bee 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -426,4 +426,19 @@ IF (BUILD_EXAMPLES)
ADD_EXECUTABLE(git-rev-list examples/rev-list.c)
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 ()