The following issue has been SUBMITTED. ====================================================================== http://public.kitware.com/Bug/view.php?id=14331 ====================================================================== Reported By: d3x0r Assigned To: ====================================================================== Project: CMake Issue ID: 14331 Category: CMake Reproducibility: always Severity: minor Priority: high Status: new ====================================================================== Date Submitted: 2013-08-01 14:41 EDT Last Modified: 2013-08-01 14:41 EDT ====================================================================== Summary: Generating projects for visual studio (2010,2012, others?) creates corrupt projects if path includes '&' Description: This simple make file creates corrupt .vcxproj files (files that visual studio refuses to load).
----------- cmake_minimum_required(VERSION 2.8) FILE( WRITE test.c "int main(){ return 0;} " ) include_directories( "a & b" ) add_executable( test test.c ) ------------ the project file is expected to be XML, so it parses first using those rules, and '&' should be emitted as '&' instead. Steps to Reproduce: use visual studio generator on the attached CMakeLists.txt, then load the .sln produced. None of the projects will load. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2013-08-01 14:41 d3x0r New Issue 2013-08-01 14:41 d3x0r File Added: CMakeLists.txt ====================================================================== -- 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://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers