summaryrefslogtreecommitdiff
path: root/contrib/buildsystems/CMakeLists.txt
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2020-08-13 14:59:45 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-08-13 18:02:13 (GMT)
commita006f875e2689cb7df543d5950beadb0416d305b (patch)
tree575fcc5519ccede961c7065ee193ed9989332ce0 /contrib/buildsystems/CMakeLists.txt
parentd7a5649c82dfa83ba8d0253e4140f242dca859a7 (diff)
downloadgit-a006f875e2689cb7df543d5950beadb0416d305b.zip
git-a006f875e2689cb7df543d5950beadb0416d305b.tar.gz
git-a006f875e2689cb7df543d5950beadb0416d305b.tar.bz2
make git-fast-import a builtin
There's no reason that git-fast-import benefits from being a separate binary. And as it links against libgit.a, it has a non-trivial disk footprint. Let's make it a builtin, which reduces the size of a stripped installation from 22MB to 21MB. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/buildsystems/CMakeLists.txt')
-rw-r--r--contrib/buildsystems/CMakeLists.txt5
1 files changed, 1 insertions, 4 deletions
diff --git a/contrib/buildsystems/CMakeLists.txt b/contrib/buildsystems/CMakeLists.txt
index 3e21160..4a6f135 100644
--- a/contrib/buildsystems/CMakeLists.txt
+++ b/contrib/buildsystems/CMakeLists.txt
@@ -501,7 +501,7 @@ unset(CMAKE_REQUIRED_INCLUDES)
#programs
set(PROGRAMS_BUILT
- git git-daemon git-fast-import git-http-backend git-sh-i18n--envsubst
+ git git-daemon git-http-backend git-sh-i18n--envsubst
git-shell git-remote-testsvn)
if(NOT CURL_FOUND)
@@ -627,9 +627,6 @@ target_link_libraries(git common-main)
add_executable(git-daemon ${CMAKE_SOURCE_DIR}/daemon.c)
target_link_libraries(git-daemon common-main)
-add_executable(git-fast-import ${CMAKE_SOURCE_DIR}/fast-import.c)
-target_link_libraries(git-fast-import common-main)
-
add_executable(git-http-backend ${CMAKE_SOURCE_DIR}/http-backend.c)
target_link_libraries(git-http-backend common-main)