cURL / Mailing Lists / curl-library / Single Mail


Re: sukender: curl/tests/libtest CMakeLists.txt,NONE,1.1

From: Sukender <>
Date: Wed, 15 Apr 2009 23:10:58 +0200

Piotr Dobrogost wrote:
> Sukender wrote:
>> Hi Piotr,
>> I agree this is not the most readable thing of the world, but in another
>> hand, a macro will not be very shorter. Anyway, I agree for SETPREPEND()
>> / STRAPPEND() macros, since SET(... PREPEND) will not be more readable,
>> IMHO.
> It strikes me there is no support for managing lists with space
> separated elements in cmake. If they support lists with colon separated
> elements they should support the second kind as well.
> I raised this issue on cmake mailing list. You can read it here
> ${CMAKE_C_FLAGS} and such are lists in their nature and not single value
> variables. Thus they should be treated differently.
> I'd like to propose writing and using a set of macros handling lists
> with space separated elements in the same manner as existing LIST
> macros. What do you think?

Macros = good idea. We'll probably remove them when their equivalent will be included in CMake.

PVLE - Lightweight cross-platform game engine -
Received on 2009-04-15