aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/buildfile
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-08-26 12:06:03 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-08-28 15:01:48 +0300
commitac87e3827b214c0ba1bd1c17a2d8a18026637d3f (patch)
tree8a750721a2537f9762b9dda4e00951b61ee1354f /libbuild2/buildfile
parentf7adb1ce7a13753a6acf5c9eeb9577ecdada630c (diff)
Move cxx build system module to separate library
Diffstat (limited to 'libbuild2/buildfile')
-rw-r--r--libbuild2/buildfile8
1 files changed, 4 insertions, 4 deletions
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