From d123226f8324813cb1698888879f6f1060652717 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 31 Aug 2016 22:53:55 +0300 Subject: Build infrastructure update --- mod/buildfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'mod/buildfile') diff --git a/mod/buildfile b/mod/buildfile index 79d86e0..799ed5d 100644 --- a/mod/buildfile +++ b/mod/buildfile @@ -47,6 +47,10 @@ mod{brep}: \ {hxx ixx txx}{*}: install = false ../web/{hxx ixx txx}{*}: install = false +# Generated options parser. +# +{hxx ixx cxx}{options}: cli{options} + # Set option prefix to the empty value to handle all unknown request parameters # uniformly with a single catch block. # @@ -56,4 +60,6 @@ cli.options += --std c++11 -I $src_root --include-with-brackets \ --cli-namespace brep::cli --generate-file-scanner --suppress-usage \ --generate-modifier --generate-description --option-prefix "" -{hxx ixx cxx}{options}: cli{options} +# Include generated cli files into the distribution. +# +{hxx ixx cxx}{options}: dist = true -- cgit v1.1