Re: [CMake] [cmake 2.5 CVS] CMAKE_${LANG}_FLAGS is initialized with space

2007-12-14 Thread David Cole
What about: MESSAGE("X${CMAKE_CXX_FLAGS}X") There is nothing in CMAKE_CXX_FLAGS -- it's just the behavior of MESSAGE when you pass it a list instead of a single string... On 12/13/07, Rodolfo Lima <[EMAIL PROTECTED]> wrote: > > Hi, I've being trying cmake 2.5 from CVS and I've come with some > un

Re: [CMake] [cmake 2.5 CVS] CMAKE_${LANG}_FLAGS is initialized with space

2007-12-13 Thread Bill Hoffman
Rodolfo Lima wrote: Hi, I've being trying cmake 2.5 from CVS and I've come with some unwanted semicolons in compiler flags. Tracing this down, I've found that CMAKE_CXX_FLAGS (and CMAKE_C_FLAGS, etc...) is initialized with a space, so that CMakeLists.txt: message(X ${CMAKE_CXX_FLAGS} X) outputs

[CMake] [cmake 2.5 CVS] CMAKE_${LANG}_FLAGS is initialized with space

2007-12-13 Thread Rodolfo Lima
Hi, I've being trying cmake 2.5 from CVS and I've come with some unwanted semicolons in compiler flags. Tracing this down, I've found that CMAKE_CXX_FLAGS (and CMAKE_C_FLAGS, etc...) is initialized with a space, so that CMakeLists.txt: message(X ${CMAKE_CXX_FLAGS} X) outputs: X X instead of: XX