# file : cli/buildfile # copyright : Copyright (c) 2009-2017 Code Synthesis Tools CC # license : MIT; see accompanying LICENSE file import libs = libcutl%lib{cutl} exe{cli}: cxx{cli} libu{cli} libu{cli}: {hxx ixx txx cxx}{** -cli -version -options} \ {hxx}{version} {hxx ixx cxx}{options} \ $libs hxx{version}: in{version} $src_root/file{manifest} # Generated options parser. # if $cli.configured { cli.cxx{options}: cli{options} cli.options += --include-with-brackets --include-prefix cli \ --guard-prefix CLI --generate-file-scanner --generate-specifier \ --generate-modifier --reserved-name stdout # Include the generated cli files into the distribution and don't remove # them when cleaning in src (so that clean results in a state identical to # distributed). # cli.cxx{*}: dist = true cli.cxx{*}: clean = ($src_root != $out_root) }