[cmake-developers] wlink command-line parsing

Jiri Malak malak.jiri at gmail.com
Wed Mar 26 15:39:15 EDT 2014


> On 03/26/2014 03:23 PM, Jiri Malak wrote:
>>> On 03/26/2014 02:45 PM, Jiri Malak wrote:
>>>> For unix like system cmdl is reconstruct from argv by aproximation one
>>>> space as separator between each item. Next is processed as characters stream.
>>>
>>> Is that done on Windows too?
>>
>> No there is get cmdl directly from OS.
>>
>>> The shell consumed the single quotes so wlink will not see them.
>>
>> It is my mistake, I forgot that single qoutes are also consumed by shell.
>
> Therefore the useSingleQuote API change is specific to the Windows
> wlink as I originally claimed.  A different implementation will
> be needed for wlink on POSIX platforms as I stated in my last
> response:

You are right, I will sent next patch for POSIX platforms.

>
>> Instead the object names themselves should each be
>> single-quoted before being sent through the normal double-quoting
>> for link command-line generation.
>

Regards

Jiri





More information about the cmake-developers mailing list