From d522e894f5ae1e899da5a23f0cfcafd2bd331797 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 10 May 2018 14:47:43 +0200 Subject: Add command for Using System-Installed Dependencies section to intro2-tour --- intro2-tour | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'intro2-tour') diff --git a/intro2-tour b/intro2-tour index 2a2c8bc..d457b7a 100755 --- a/intro2-tour +++ b/intro2-tour @@ -163,7 +163,7 @@ show bdep status -r show bdep status -o libhello show bdep sync libhello/1.0.0 -# Unpackaged Dependencies. +# Using Unpackaged Dependencies. # cd .. rm -rf libextra libextra-gcc unpkg-gcc hello-gcc-1 @@ -193,6 +193,18 @@ config.cc.poptions+=-I$tmp/unpkg-gcc/include \ config.cc.loptions+=-L$tmp/unpkg-gcc/lib show b test +# Using System-Installed Dependencies. +# +cat <>manifest +depends: libsqlite3 ^3.18.0 +EOF +sed -i -re 's/^import libs =/import libs = libsqlite3%lib{sqlite3}/' hello/buildfile +cat <>hello/hello.cxx +#include +EOF + +show bdep sync ?sys:libsqlite3 + # Versioning and Release Management. # git add . -- cgit v1.1