[CMake] Visual Studio project error
Bill Hoffman
bill.hoffman at kitware.com
Thu Sep 23 08:44:00 EDT 2010
On 9/23/2010 2:20 AM, J Decker wrote:
> 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
I don' think any version of cmake supports an install prefix that is a
windows style \ path. Did this work in a previous version of CMake?
-Bill
More information about the CMake
mailing list