summaryrefslogtreecommitdiff
path: root/format/buildfile
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-01-22 10:26:47 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-01-22 10:26:47 +0200
commitf013fac528515dad78c9a624216b1e0217a5f3bb (patch)
tree88a98bdb6f4b6c385f06239eb7c46ce8acf5d3c8 /format/buildfile
"Hello World" formatter C++ library with build2
Diffstat (limited to 'format/buildfile')
-rw-r--r--format/buildfile8
1 files changed, 8 insertions, 0 deletions
diff --git a/format/buildfile b/format/buildfile
new file mode 100644
index 0000000..4edb840
--- /dev/null
+++ b/format/buildfile
@@ -0,0 +1,8 @@
+lib{format}: {hxx cxx}{format}
+
+cxx.poptions += -I$src_root
+lib{format}: cxx.export.poptions = -I$src_root
+
+# Install into the format/ subdirectory of, say, /usr/include/.
+#
+install.include = $install.include/format