From ac87e3827b214c0ba1bd1c17a2d8a18026637d3f Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 26 Aug 2019 12:06:03 +0300 Subject: Move cxx build system module to separate library --- libbuild2/buildfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libbuild2/buildfile') diff --git a/libbuild2/buildfile b/libbuild2/buildfile index 75731fc..8d40c28 100644 --- a/libbuild2/buildfile +++ b/libbuild2/buildfile @@ -2,10 +2,10 @@ # copyright : Copyright (c) 2014-2019 Code Synthesis Ltd # license : MIT; see accompanying LICENSE file -# NOTE: remember to update bundled_modules in libbuild2/modules.cxx if adding -# a new module. +# NOTE: remember to update bundled_modules in libbuild2/module.cxx if adding a +# new module. # -./: lib{build2} bash/ bin/ c/ cc/ in/ version/ +./: lib{build2} bash/ bin/ c/ cc/ cxx/ in/ version/ import int_libs = libbutl%lib{butl} @@ -88,7 +88,7 @@ cross = ($cxx.target.cpu != $build.host.cpu || \ if! $cross obj{context}: cxx.poptions += \ - "-DBUILD2_IMPORT_PATH=\"$regex.replace($out_root, '\\', '\\\\')\"" + -DBUILD2_IMPORT_PATH=\"$regex.replace($out_root, '\\', '\\\\')\" obja{context}: cxx.poptions += -DLIBBUILD2_STATIC_BUILD objs{context}: cxx.poptions += -DLIBBUILD2_SHARED_BUILD -- cgit v1.1