[CMake] Visual Studio project error

J Decker d3ck0r at gmail.com
Thu Sep 23 02:20:30 EDT 2010


using 2.8.3-rc1 I decided to throw the project against visual studio
and see what I got.

clicking on the install target

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


More information about the CMake mailing list