diff options
Diffstat (limited to 'intro2-tour')
-rwxr-xr-x | intro2-tour | 14 |
1 files changed, 13 insertions, 1 deletions
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 <<EOF >>manifest +depends: libsqlite3 ^3.18.0 +EOF +sed -i -re 's/^import libs =/import libs = libsqlite3%lib{sqlite3}/' hello/buildfile +cat <<EOF >>hello/hello.cxx +#include <sqlite3.h> +EOF + +show bdep sync ?sys:libsqlite3 + # Versioning and Release Management. # git add . |