$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-build] Putting quotes around compiler option
From: Edward Diener (eldiener_at_[hidden])
Date: 2017-05-06 18:14:06
Is there any way I can force Boost Build to pass a compiler option with
quotes ( " ) around the option when I specify the compiler option in a
jam file ?
As an example:
using some_toolset : some_version : some_command
:
<cxxflags>-fmacro-backtrace-limit=0
;
When passed to some_command I want -fmacro-backtrace-limit=0 passed as
"-fmacro-backtrace-limit=0".
Is this possible ?
Even if I specify:
using some_toolset : some_version : some_command
:
<cxxflags>"-fmacro-backtrace-limit=0"
;
using -d2 tells me that it is being passed as -fmacro-backtrace-limit=0
and not "-fmacro-backtrace-limit=0".