Re: [CMake] lack of operator for easy string concatenation

2009-04-10 Thread Piotr Dobrogost
Jed Brown wrote: > I assume you have considered > > list (APPEND ...) > > and > > list (INSERT 0 ...) > > which should work for what you have described. Thanks for information. Any chances to have PREPPEND as one of options in the future? -- Piotr Dobrogost *** curlpp.org - c++ wrappe

Re: [CMake] lack of operator for easy string concatenation

2009-04-08 Thread Jed Brown
On Wed 2009-04-08 20:50, Piotr Dobrogost wrote: > John Drescher wrote: > > > On Wed, Apr 8, 2009 at 2:27 PM, Piotr Dobrogost > > 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 pref

Re: [CMake] lack of operator for easy string concatenation

2009-04-08 Thread Piotr Dobrogost
John Drescher wrote: > On Wed, Apr 8, 2009 at 2:27 PM, Piotr Dobrogost > 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 dif

Re: [CMake] lack of operator for easy string concatenation

2009-04-08 Thread John Drescher
On Wed, Apr 8, 2009 at 2:27 PM, Piotr Dobrogost wrote: > Hi > > Am I missing something or there is no operator for easy string > concatenation in cmake? > > Instead of writing > > SET(CMAKE_MODULE_PATH > "${CMAKE_CURRENT_SOURCE_DIR}/CMake;${CMAKE_MODULE_PATH}") > > it would be nice to be able to w

[CMake] lack of operator for easy string concatenation

2009-04-08 Thread Piotr Dobrogost
Hi Am I missing something or there is no operator for easy string concatenation in cmake? Instead of writing SET(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMake;${CMAKE_MODULE_PATH}") it would be nice to be able to write CMAKE_MODULE_PATH += "${CMAKE_CURRENT_SOURCE_DIR}/CMake;" or at lea