From 80b2d70cd43bbf6b4433527fbd84a07bb5a80131 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 7 Aug 2017 11:47:35 +0200 Subject: Add reference to modularized hello packages in intro --- doc/intro.cli | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/intro.cli b/doc/intro.cli index 6d45bf8..0fe8d0c 100644 --- a/doc/intro.cli +++ b/doc/intro.cli @@ -113,7 +113,7 @@ chicken and egg problem again). And this step wouldn't serve our goal of quickly learning what \c{build2} is about. So, instead, we will start with a customary \i{\"Hello, World!\"} example which you won't yet be able to try yourself (but don't worry, complete terminal output will be shown). If at the -end you find \c{build2} appealing, you can jump right to +end you find \c{build2} appealing, you can jump straight to \l{build2-toolchain-install.xhtml The \c{build2} Toolchain Installation and Upgrade} (and, yes, there you get to run that coveted \c{bpkg build bpkg}). Once the \c{build2} installation is complete, you can come back to the @@ -126,6 +126,11 @@ obtain and build them as well as keep up with their updates. At the end we will also see how to write our own, \c{hello2}, program that depends on \c{libhello}. And so, without further ado, let's begin. +Actually, one more thing: if you have a recent enough compiler and would like +to try the new C++ Modules support, then you can instead use the modularized +variants of these packages: simply replace \c{hello} with \c{mhello} and +\c{libhello} with \c{libmhello} in the commands below. + The first step in using \c{bpkg} is to create a \i{configuration}. A configuration is a directory where packages that require similar compile settings will be built. You can create as many configurations as you want: for -- cgit v1.1