aboutsummaryrefslogtreecommitdiff
path: root/build2/buildfile
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-05-01 18:24:31 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-05-01 19:30:26 +0300
commit70317569c6dcd9809ed4a8c425777e653ec6ca08 (patch)
tree07a538b296933e9e2a1f81088f8fcc8da3f749ad /build2/buildfile
parentcbec9ea8841c8a58b2d50bb628b28aea7a6fe179 (diff)
Add hxx extension for headers
Diffstat (limited to 'build2/buildfile')
-rw-r--r--build2/buildfile10
1 files changed, 5 insertions, 5 deletions
diff --git a/build2/buildfile b/build2/buildfile
index 8f8d51c..2d65001 100644
--- a/build2/buildfile
+++ b/build2/buildfile
@@ -41,7 +41,7 @@ exe{b}: \
{hxx cxx}{ types-parsers } \
{hxx ixx txx cxx}{ utility } \
{hxx ixx txx cxx}{ variable } \
- {hxx }{ version-impl } \
+ {hxx }{ version } \
bin/{hxx cxx}{ guess } \
bin/{hxx cxx}{ init } \
bin/{hxx cxx}{ rule } \
@@ -107,8 +107,8 @@ exe{b}: {hxx ixx txx cxx}{** -b-options -dummy} \
liba{b} $libs
#\
-hxx{version-impl}: in{version-impl} $src_root/file{manifest}
-hxx{version-impl}: dist = true
+hxx{version}: in{version} $src_root/file{manifest}
+hxx{version}: dist = true
# Fake utility library (without it code generation does not work).
#
@@ -130,8 +130,8 @@ if $cli.configured
cli.cxx{b-options}: cli{b}
cli.options += -I $src_root --include-with-brackets --include-prefix build2 \
---guard-prefix BUILD2 --cxx-prologue "#include <build2/types-parsers>" \
---cli-namespace build2::cl --generate-file-scanner --generate-parse \
+--guard-prefix BUILD2 --cxx-prologue "#include <build2/types-parsers.hxx>" \
+--cli-namespace build2::cl --generate-file-scanner --generate-parse \
--generate-specifier
# Usage options.