aboutsummaryrefslogtreecommitdiff
path: root/build/root.build
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2022-09-12 15:37:40 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2022-09-12 20:17:08 +0300
commitb5778fbc764cb72dcc2ec2fa72209b969f266d69 (patch)
treebd3ad93462c17ec47f3f521948720c65a3216e2f /build/root.build
parent2831d7278e9849abb4e110e69bfb43c2ef8f3ee6 (diff)
Use ad hoc recipe to compile options.cli file
Diffstat (limited to 'build/root.build')
-rw-r--r--build/root.build10
1 files changed, 2 insertions, 8 deletions
diff --git a/build/root.build b/build/root.build
index 49d1911..c98d520 100644
--- a/build/root.build
+++ b/build/root.build
@@ -1,6 +1,8 @@
# file : build/root.build
# license : GNU GPL v2; see accompanying LICENSE file
+config [bool] config.libodb_mysql.develop ?= false
+
# Configure which database client library to use for build2 versions greater
# than 0.12.0 and always use MySQL client library otherwise (due to the lack
# of the project configuration variables support).
@@ -41,11 +43,3 @@ if ($cxx.target.system == 'win32-msvc')
if ($cxx.class == 'msvc')
cxx.coptions += /wd4251 /wd4275 /wd4800
-
-# Load the cli module but only if it's available. This way a distribution
-# that includes pre-generated files can be built without installing cli.
-# This is also the reason why we need to explicitly spell out individual
-# source file prerequisites instead of using the cli.cxx{} group (it won't
-# be there unless the module is configured).
-#
-using? cli