On 9/20/2010 12:59 AM, Micha Renner wrote:
Here is a small one.

INSTALL(FILES ${CMAKE_BINARY_DIR}/CTest.conf DESTINATION /usr/local)

always results in this warning:


1>   -- Install configuration: "Debug"
1>   CMake Warning (dev) at cmake_install.cmake:31 (list):
1>     Syntax error in cmake code at
1>
1>       C:/work-c/T/CMake/cmake_install.cmake:32
1>
1>     when parsing string
1>
1>       /usr/local\CTest.conf
1>
1>     Invalid escape sequence \C
1>
1>     Policy CMP0010 is not set: Bad variable reference syntax is an
error.  Run
1>     "cmake --help-policy CMP0010" for policy details.  Use the
cmake_policy
1>     command to set the policy and suppress this warning.
1>   This warning is for project developers.  Use -Wno-dev to suppress
it.
1>   -- Installing: /usr/local/CTest.conf

(CMake 2.8.3rc1, VS 2010Express)

Do you have the sample project? Did this not happen for 2.8.2? Looks like there is a windows path being used here: /usr/local\CTest.conf. Please provide a minimal example that shows the problem, also please test with 2.8.2 and make sure this is a regression.

Thanks.

-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

Reply via email to