On Tue, Oct 6, 2009 at 12:49 PM, Philip Lowman <[email protected]> wrote:
> I'm trying to do the following but CMake treats each space in a filename
> as a separate flag:
>
> set(sxsoverride "${CMAKE_CURRENT_SOURCE_DIR}/target_sxs.h")
> set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /FI ${sxsoverride}"
>
> It fails if there are spaces in the path as CMake seems to expand the
> entry. Anyone have any ideas? Seems buggy to me:
>
> Cmtrycompile CMakeError.log:
>
> ... /FI "C:/Documents" /FI "and" ...
> (etc.)
>
Of course now that I try this at home, I can't replicate my own problem...
--
Philip Lowman
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake