[CMake] Protecting spaces

Guenther.Stangassinger at elektrobit.com Guenther.Stangassinger at elektrobit.com
Fri Oct 5 04:21:29 EDT 2007


Hi cmake-team,
i have a question.
in my cmake file i have the following line:
SET(CMAKE_CXX_COMPILER "C:/Program Files/Microsoft/ Visual Studio 8/VC/ce/bin/x86_arm/cl.exe")
 
When i apply nmake afterwards i get this error:
Der Befehl "C:\Program" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\ce\bin\x86_arm\cl.exe' : return code '0x1'
 
So my question:
how can i protect spaces in cmake??
 
Yours sincerely
Günther
 
 
-
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Günther Stangassinger       Mobile Applications
Elektrobit Automotive Software
Frankfurter Ring 115a, D-80807 München, Germany
Tel  +49-89-3090-7874 mailto:Guenther.Stangassinger at Elektrobit.com
Fax +49-89-3090-7850 http://www.Elektrobit.com <http://www.elektrobit.com/> 
PGP-Key:            http://keyserver.elektrobit.com <http://keyserver.elektrobit.com/> 
 


----------------------------------------------------------------
Please note: This e-mail may contain confidential information
intended solely for the addressee. If you have received this
e-mail in error, please do not disclose it to anyone, notify
the sender promptly, and delete the message from your system.
Thank you.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20071005/1f1d943d/attachment.htm


More information about the CMake mailing list