The following issue has been SUBMITTED. ====================================================================== http://www.cmake.org/Bug/view.php?id=15031 ====================================================================== Reported By: mscott Assigned To: ====================================================================== Project: CMake Issue ID: 15031 Category: CMake Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2014-07-22 08:36 EDT Last Modified: 2014-07-22 08:36 EDT ====================================================================== Summary: visual studio 2012 generator ampersand escaping Description: The Visual Studio 2012 generator does not seem to escape ampersands in source file paths correctly, resulting in the generated project XML containing errors and being un-openable with Visual Studio.
I tested the same config with the Visual Studio 2008 generator and did not encounter the same issue. When looking at the generated XML, in VS2008 the '&' character is replaced by '&'. Steps to Reproduce: Create a target whose sources includes a file path with the '&' character, then run cmake specifying VS2012 as the generator, open the created solution and notice that it cannot open the target project. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2014-07-22 08:36 mscott New Issue ====================================================================== -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers