From 627991f892f431988c6a683b1305aee5510920dd Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 19 Jan 2016 13:32:30 +0200 Subject: Basic "Hello World" C++ library with build2 --- hello/buildfile | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 hello/buildfile (limited to 'hello/buildfile') diff --git a/hello/buildfile b/hello/buildfile new file mode 100644 index 0000000..4903a33 --- /dev/null +++ b/hello/buildfile @@ -0,0 +1,8 @@ +lib{hello}: {hxx cxx}{hello} + +cxx.poptions += -I$src_root +lib{hello}: cxx.export.poptions = -I$src_root + +# Install into the hello/ subdirectory of, say, /usr/include/. +# +install.include = $install.include/hello -- cgit v1.1