Details
Description
Library paths that contain spaces creates in invalid linking arguments and need quotes to work correctly on MSVC.
For example:
cpp.libraryPaths = ["C:/Program Files (x86)/Intel/Composer XE 2013 SP1/compiler/lib/ia32"]
This will give a linking error:
Files.obj doesn't exist
It isn't possible to add quotes around the path because qbs will interrupt it as a relative path and prepend the current directory to the path. link.exe will silently ignore that the invalid LIBPATH doesn't exist. Perhaps QBS could warn the user about invalid LIBPATH's?
The only work around is manually add LIBPATH:[directory with spaces] to cpp.linkerFlags.
Attachments
For Gerrit Dashboard: QBS-812 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
158927,14 | Quote arguments in response files | 1.5 | qbs/qbs | Status: MERGED | +2 | 0 |