From 0a9d95dfc9ef2c7e822257cc7b256cdd24d4a0d3 Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris Date: Mon, 4 Jun 2018 13:54:51 +0300 Subject: Include mtxclient in the build --- Makefile | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 4d46e935..833d81a0 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,23 @@ +DEPS_BUILD_DIR=.deps +DEPS_SOURCE_DIR=deps debug: @cmake -H. -GNinja -Bbuild -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=1 @cmake --build build +third_party: + @mkdir -p ${DEPS_BUILD_DIR}/usr/{lib,include}/ + @cmake -GNinja -H${DEPS_SOURCE_DIR} -B${DEPS_BUILD_DIR} \ + -DCMAKE_BUILD_TYPE=Release \ + -DUSE_BUNDLED_BOOST=OFF + @cmake --build ${DEPS_BUILD_DIR} + ci: - @cmake -H. -GNinja -Bbuild -DCMAKE_BUILD_TYPE=RelWithDebInfo - @cmake --build build + mkdir -p ${DEPS_BUILD_DIR}/usr/{lib,include}/ + cmake -H${DEPS_SOURCE_DIR} -B${DEPS_BUILD_DIR} -DCMAKE_BUILD_TYPE=Release + cmake --build ${DEPS_BUILD_DIR} + cmake -H. -Bbuild -DCMAKE_BUILD_TYPE=RelWithDebInfo + cmake --build build release: @cmake -H. -Bbuild -DCMAKE_BUILD_TYPE=RelWithDebInfo -- cgit 1.4.1