diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2024-01-22 12:23:20 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2024-01-22 12:23:20 +0200 |
commit | 78fb7c04ec8825dba7f83d49c8d04853479bba81 (patch) | |
tree | 92ef66846fdf91fac96ee5de54dc8ccdb8b35f76 /odb/buildfile | |
parent | 299f76e0fb8621272f983c2f8110185942d3db7e (diff) |
Release version 2.5.0-b.25+12.5.0-b.25+1
Backport the following commits from 2.5.0-b.26:
- Prevent inner self-typedefs from causing scope cycles.
- Skip declarations inside anonymous namespaces.
- Support integer template parameters in parser::emit_type_name().
- Make sure configuration report variables are set in skeleton mode.
- Make GCC plugin directory, g++ executable name customizable.
Diffstat (limited to 'odb/buildfile')
-rw-r--r-- | odb/buildfile | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/odb/buildfile b/odb/buildfile index 20f8718..34a6329 100644 --- a/odb/buildfile +++ b/odb/buildfile @@ -32,22 +32,6 @@ if ($cxx.target.class != 'windows') # plugin{*}: install = bin/ -# Unless cross-compiling, pass the C++ compiler's recall path as the g++ -# name. At some point we should also make it configurable. -# -# Note that we used to compare complete target triplets but that prooved too -# strict. For example, we may be running on x86_64-apple-darwin17.7.0 while -# the compiler is targeting x86_64-apple-darwin17.3.0. -# -if ($cxx.target.cpu == $build.host.cpu && \ - $cxx.target.system == $build.host.system) -{ - gxx_name = $recall($cxx.path) - gxx_name = $regex.replace($gxx_name, '\\', '\\\\') # Escape back slashes. -} -else - gxx_name = g++ - import libs = libcutl%lib{cutl} import libs += libstudxml%lib{studxml} @@ -98,7 +82,10 @@ libus{odb}: {hxx ixx txx cxx}{** -odb -options -pregenerated/**} $libs # Build options. # -cxx.poptions += "-I$plugin_dir/include" "-DODB_GXX_NAME=\"$gxx_name\"" +# Note: escape backslashes in gxx_name. +# +cxx.poptions += "-I$plugin_dir/include" +cxx.poptions += "-DODB_GXX_NAME=\"$regex.replace($gxx_name, '\\', '\\\\')\"" cxx.poptions += -DODB_BUILD2 # @@ TMP while supporting other build systems. ## Consumption build ($develop == false). |