From 879d7e92d823c9dfe6fb3691541f30b662f2a510 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 3 Sep 2016 17:27:33 +0200 Subject: First take on new installation and upgrade instructions --- build/root.build | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'build') diff --git a/build/root.build b/build/root.build index ac55324..b21d615 100644 --- a/build/root.build +++ b/build/root.build @@ -5,6 +5,16 @@ # Load common modules that are used by subproject so that they use common # configuration. # -using cxx.config -using c.config -using? cli.config +using cxx +using c + +# Load the cli module but only if it's available. This way a distribution +# that includes pre-generated files can be built without installing cli. +# +using? cli + +if! $cli.configured +{ + define cli: file + cli{*}: extension = cli +} -- cgit v1.1