From e28ab8f48c891c03cf4b3a8ed88b98d38a561960 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 8 Dec 2015 13:45:08 +0200 Subject: Separate brep module configuration from Apache server configuration --- brep/buildfile | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) (limited to 'brep/buildfile') diff --git a/brep/buildfile b/brep/buildfile index b879b2d..0369098 100644 --- a/brep/buildfile +++ b/brep/buildfile @@ -4,7 +4,10 @@ using cli -.: libso{brep brep-apache} +# @@ The target should actually be mod_brep.so, not libmod_brep.so. Such +# customization is not supported yet. +# +.: libso{brep mod_brep} # brep library build rules. # @@ -17,25 +20,26 @@ brep = cxx{package package-traits package-odb} libso{brep}: $brep $libs libso{brep}: cxx.export.poptions = -I$out_root -I$src_root -# brep-apache library build rules. +# mod_brep library build rules. # import libs += libstudxml%lib{studxml} -brep = cxx{diagnostics module services repository-root package-search \ - package-details package-version-details repository-details \ - shared-database page types-parsers} \ +brep = cxx{services diagnostics module repository-root package-search \ + package-details package-version-details repository-details \ + shared-database page types-parsers} \ cli.cxx{options} web = ../web/apache/cxx{request service} ../web/cxx{mime-url-encoding} -libso{brep-apache}: $brep $web libso{brep} $libs +libso{mod_brep}: $brep $web libso{brep} $libs # Set option prefix to the empty value to handle all unknown request parameters # uniformly with a single catch block. # -cli.options += -I $src_root --include-with-brackets --include-prefix brep \ ---guard-prefix BREP --cxx-prologue "#include " \ +cli.options += --std c++11 -I $src_root --include-with-brackets \ +--include-prefix brep --guard-prefix BREP \ +--cxx-prologue "#include " \ --cli-namespace brep::cli --generate-file-scanner --suppress-usage \ ---option-prefix "" +--generate-modifier --generate-description --option-prefix "" cli.cxx{options}: cli{options} -- cgit v1.1