Am Samstag, 28. Juni 2014 um 19:21:50, schrieb Hendrik Sattler 
<p...@hendrik-sattler.de>
> >So 'ls' got '-l -h' as one paramater.
> >I would use
> >1.) -DMYTOOL_FLAGS="-lh"
> >
> >or
> >2.) -DMYTOOL_FLAGS="-l;-h"
> 
> Or maybe escaping on the shell as
> "-DMYTOOL_FLAGS=-l -h"
> also works?

This is identical to -DMYTOOL_FLAGS="-l -h". The shell simply removes quotes. 
The command
(in this case cmake) get this (as one) parameter '-DMYTOOL_FLAGS=-l -h' 
including the blank.
So it should not work.

        Kornel

Attachment: signature.asc
Description: This is a digitally signed message part.

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to