[CMake] CMake doesn't accept multiple entries for a variable on the commandline
David Cole
david.cole at kitware.com
Thu Apr 17 07:03:32 EDT 2008
Try quoting the whole thing:
cmake "-DCMAKE_CXX_FLAGS=-pedantic -g3 -O0"
On Thu, Apr 17, 2008 at 6:05 AM, Pau Garcia i Quiles <pgquiles at elpauer.org>
wrote:
> Quoting Andreas Pakulat <apaku at gmx.de>:
>
> Hi,
> >
> > trying to execute
> >
> > cmake -DCMAKE_CXX_FLAGS="-pedantic -g3 -O0"
> >
> > doesn't work. The CMake cache only contains the last one, -O0, in that
> > case. This is with cmake 2.6 rc7, not sure wether this works in 2.4 and
> > I
> > can't test before next week.
> >
> > Anybody else seeing that, especially with newer rc's? (I can't update
> > cmake either until sunday).
> >
>
> Works for me with 2.4.8
>
>
> --
> Pau Garcia i Quiles
> http://www.elpauer.org
> (Due to my workload, I may need 10 days to answer)
>
>
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080417/0f2fc462/attachment.htm>
More information about the CMake
mailing list