[CMake] Visual Studio project error

J Decker d3ck0r at gmail.com
Thu Sep 23 12:17:36 EDT 2010


>>
> The last one may not be supported.  You can not give CMake windows paths for
> variable and expect it to work... :)

Why put so much emphasis that a / is a path seperator?  it's not like
a \ is any more of a valid character for paths and files.  I mean I
would imagine since it's treating it as an escape that a more proper
way would be to specify '\\'... but this wasn't something I put in a
script - it's one of those configuration variables set during
cmake-gui... so; should I set some other variable, and do a subst on
it to make sure it works?  but it's a variable known to generate
paths, so why isn't it converted after parsing?

hmm... Cmake knows the variable has path characteristics....
CMAKE_INSTALL_PREFIX:PATH=M:\build\vs10_sack_debug

... also the \'s aren't interpreted on the gui side to say 'unknown
escape sequence' ...


>
> -Bill
>
>
> --
> Bill Hoffman
> Kitware, Inc.
> 28 Corporate Drive
> Clifton Park, NY 12065
> bill.hoffman at kitware.com
> http://www.kitware.com
> 518 881-4905 (Direct)
> 518 371-3971 x105
> Fax (518) 371-4573
> _______________________________________________
> 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
>


More information about the CMake mailing list