diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-03-03 16:02:45 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-03-03 16:02:45 +0200 |
commit | f0c834ed57ef3afbbed2a4baacbab19fe6e7a6fd (patch) | |
tree | f11e5fafd25f99b3038c32f8333375220c458bc3 /load/buildfile | |
parent | d0661a3dfdee6b5eef901a1beb6f498a5cf9aa06 (diff) |
Rework build2 cli compilation
Diffstat (limited to 'load/buildfile')
-rw-r--r-- | load/buildfile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/load/buildfile b/load/buildfile index 1eab23f..530dc72 100644 --- a/load/buildfile +++ b/load/buildfile @@ -17,16 +17,16 @@ exe{brep-load}: \ # Generated options parser. # -{hxx ixx cxx}{load-options}: cli{load} - if $cli.configured { + cli.cxx{load-options}: cli{load} + cli.options += -I $src_root --include-with-brackets --include-prefix load \ --guard-prefix LOAD --generate-specifier --page-usage print_ --ansi-color \ --cxx-prologue "#include <load/types-parsers>" \ --long-usage -} -# Include generated cli files into the distribution. -# -{hxx ixx cxx}{load-options}: dist = true + # Include generated cli files into the distribution. + # + cli.cxx{load-options}: dist = true +} |