[CMake] lack of operator for easy string concatenation

Jed Brown jed at 59A2.org
Wed Apr 8 15:02:00 EDT 2009


On Wed 2009-04-08 20:50, Piotr Dobrogost wrote:
> John Drescher wrote:
> 
> > On Wed, Apr 8, 2009 at 2:27 PM, Piotr Dobrogost
> > <pd at opensource.dobrogost.pl> wrote:
> >> Hi
> >>
> >> Am I missing something or there is no operator for easy string
> >> concatenation in cmake?
> > 
> > I guess its a matter of preference. I prefer the first/working example.
> 
> It's soo verbose... And it's more difficult to parse by human as well.
> I thought one of the main rules of software development is to avoid
> redundancy :)

I assume you have considered

  list (APPEND <list> ...)

and

  list (INSERT <list> 0 ...)

which should work for what you have described.

Jed
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090408/19d92c72/attachment.pgp>


More information about the CMake mailing list