[LLVMdev] [RFC] Raise minimum required CMake version to 3.0
Zachary Turner
zturner at google.com
Wed Apr 8 13:32:36 PDT 2015
When the line is like 400 characters, it's pretty obnoxious.
On Wed, Apr 8, 2015 at 1:32 PM Sean Silva <chisophugis at gmail.com> wrote:
> On Wed, Apr 8, 2015 at 1:19 PM, Zachary Turner <zturner at google.com> wrote:
>
>> Just found another issue with CMake versions prior to 3.0. I need to
>> write a long string, and prior to 3.0 there is no line continuation for
>> quoted arguments. This might seem minor, but it's one of those things that
>> when you need to do it, it's really annoying for there to be no good
>> workaround :-/
>>
>
> Can't you just use longer lines? Seems pretty straightforward.
>
> -- Sean Silva
>
>
>>
>>
>>
>> http://www.cmake.org/cmake/help/v3.0/manual/cmake-language.7.html#quoted-argument
>>
>> "
>>
>> Note
>>
>>
>> CMake versions prior to 3.0 do not support continuation with \. They
>> report errors in quoted arguments containing lines ending in an odd number
>> of \ characters."
>>
>>
>> On Mon, Mar 16, 2015 at 11:21 AM Renato Golin <renato.golin at linaro.org>
>> wrote:
>>
>>> On 16 March 2015 at 18:00, Zachary Turner <zturner at google.com> wrote:
>>> > We can always just say "if you want to self host, you need 3.0 or
>>> higher",
>>> > but thought I would add this to the thread anyway.
>>>
>>> I think that would be wiser, especially it being an undocumented
>>> feature. But thanks for the heads up.
>>>
>>> cheers,
>>> --renato
>>>
>>
>> _______________________________________________
>> LLVM Developers mailing list
>> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150408/c66b5cf4/attachment.html>
More information about the llvm-dev
mailing list