<div class="gmail_quote">On Tue, Oct 6, 2009 at 12:49 PM, Philip Lowman <span dir="ltr"><<a href="mailto:philip@yhbt.com">philip@yhbt.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I'm trying to do the following but CMake treats each space in a filename<br>
as a separate flag:<br>
<br>
set(sxsoverride "${CMAKE_CURRENT_SOURCE_DIR}/target_sxs.h")<br>
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /FI ${sxsoverride}"<br>
<br>
It fails if there are spaces in the path as CMake seems to expand the<br>
entry. Anyone have any ideas? Seems buggy to me:<br>
<br>
Cmtrycompile CMakeError.log:<br>
<br>
... /FI "C:/Documents" /FI "and" ...<br>
(etc.)<br></blockquote><div><br>Of course now that I try this at home, I can't replicate my own problem... <br><br></div></div>-- <br>Philip Lowman<br>