# file : bbot/buildfile # copyright : Copyright (c) 2014-2017 Code Synthesis Ltd # license : MIT; see accompanying LICENSE file import libs = libbutl%lib{butl} import libs += libbbot%lib{bbot} exe{bbot-agent}: \ { cxx}{ agent } {hxx ixx cxx}{ agent-options } \ {hxx }{ bbot-version } \ {hxx ixx cxx}{ common-options } \ {hxx cxx}{ diagnostics } \ {hxx }{ types } \ {hxx cxx}{ types-parsers } \ {hxx cxx}{ utility } \ $libs # Generated options parser. # if $cli.configured { cli.cxx{common-options}: cli{common} cli.cxx{agent-options}: cli{agent} cli.options += -I $src_root --include-with-brackets --include-prefix bbot \ --guard-prefix BBOT --cxx-prologue "#include " \ --cli-namespace bbot::cli --generate-specifier cli.cxx{common-options}: cli.options = $cli.options # No usage. # Usage options. # cli.options += --suppress-undocumented --long-usage --ansi-color \ --page-usage 'bbot::print_$name$_' --option-length 20 # Include generated cli files into the distribution. # cli.cxx{*}: dist = true }