[CMake] Visual Studio project error

Eric Noulard eric.noulard at gmail.com
Thu Sep 23 03:13:38 EDT 2010


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

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
>



-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org


More information about the CMake mailing list