aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRui Abreu Ferreira <raf-ep@gmx.com>2014-12-01 15:59:55 +0000
committerRui Abreu Ferreira <raf-ep@gmx.com>2014-12-16 10:28:43 +0000
commit64d78c0b7d71304bd830ffd5c4e3aca446b82a1b (patch)
treeee84472f6d25ef79fa98241848d37b16ae130feb /Makefile
parent6a193a0e2e22ae31dd04957174b1c958d1b792ec (diff)
downloadrneovim-64d78c0b7d71304bd830ffd5c4e3aca446b82a1b.tar.gz
rneovim-64d78c0b7d71304bd830ffd5c4e3aca446b82a1b.tar.bz2
rneovim-64d78c0b7d71304bd830ffd5c4e3aca446b82a1b.zip
Dont force ../.deps in third-party/CMakeLists.txt
- third-party is built under .deps by default instead of using its own ${CMAKE_BINARY_DIR}, move this default setting out of the cmake settings and into the Makefile. - As a consequence the workflow of building third-party using CMake should feel more natural, avoid the additional folder or setting DEPS_DIR from the command line. - This commit does not change the default behaviour when calling the Makefile wrapper.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index c675965048..7a37e9ba4b 100644
--- a/Makefile
+++ b/Makefile
@@ -64,15 +64,15 @@ build/.ran-cmake: | deps
deps: | build/.ran-third-party-cmake
ifeq ($(call filter-true,$(USE_BUNDLED_DEPS)),)
- +$(BUILD_CMD) -C .deps/build/third-party
+ +$(BUILD_CMD) -C .deps
endif
build/.ran-third-party-cmake:
ifeq ($(call filter-true,$(USE_BUNDLED_DEPS)),)
- mkdir -p .deps/build/third-party
- cd .deps/build/third-party && \
+ mkdir -p .deps
+ cd .deps && \
cmake -G '$(BUILD_TYPE)' $(BUNDLED_CMAKE_FLAG) \
- $(DEPS_CMAKE_FLAGS) ../../../third-party
+ $(DEPS_CMAKE_FLAGS) ../third-party
endif
mkdir -p build
touch $@