On 9/23/2010 12:17 PM, J Decker wrote:
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' ...
I suppose cmake-gui could translate it automatically. The cmake-gui is
Qt which does handle \ as a path. The problem in cmake is that we don't
really track paths just strings. In short, it would be a hard problem
to fix, but you are welcome to create a patch, but I fear it would be
larger and error prone. (In which case it would not be accepted
upstream.). I did think the gui automatically changed paths to have /
in them. That might be a small fix that could be done.
-Bill
_______________________________________________
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