[CMake] Visual Studio project error

Bill Hoffman bill.hoffman at kitware.com
Thu Sep 23 09:24:39 EDT 2010


On 9/23/2010 3:13 AM, Eric Noulard wrote:
> 2010/9/23 J Decker<d3ck0r at gmail.com>:
>> using 2.8.3-rc1 I decided to throw the project against visual studio
>> and see what I got.
>>
>> clicking on the install target
>
> I am responsible for this regression :-(

Not so sure it is the same thing...

Note, the whole path is wrong:  M:\build\vs10_sack_debug

Your bug only did the last \.


>
> The issue is known, see those thread;
> http://www.cmake.org/pipermail/cmake/2010-September/039668.html
> http://www.cmake.org/pipermail/cmake-developers/2010-September/000561.html
>
> A fix has been checked in 'git next' yesterday.
> Should be in next RC.
>
> Thank you for reporting the issue.
>
> Eric
>
>> ------ Build started: Project: INSTALL
>> (CMakePredefinedTargets\INSTALL), Configuration: Debug Win32 ------
>> 3>    CMake Warning (dev) at cmake_install.cmake:5 (SET):
>> 3>      Syntax error in cmake code at
>> 3>
>> 3>        M:/build/vs10/sack/cmake_install.cmake:5
>> 3>
>> 3>      when parsing string
>> 3>
>> 3>        M:\build\vs10_sack_debug
>> 3>
>> 3>      Invalid escape sequence \b
>> 3>
>> 3>      Policy CMP0010 is not set: Bad variable reference syntax is an error.  Run
>> 3>      "cmake --help-policy CMP0010" for policy details.  Use the cmake_policy
>> 3>      command to set the policy and suppress this warning.
>> 3>    This warning is for project developers.  Use -Wno-dev to suppress it.
>> 3>
>>
>> Fixed by modifying CMAKE_INSTALL_PREFIX to M:/build/vs10_sack_debug
>> from M:\build\vs10_sack_debug
>> _______________________________________________
>> 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
>>
>
>
>


-- 
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


More information about the CMake mailing list