[cmake-developers] [CMake 0014331]: Generating projects for visual studio (2010, 2012, others?) creates corrupt projects if path includes '&'
Mantis Bug Tracker
mantis at public.kitware.com
Thu Aug 1 14:41:24 EDT 2013
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
======================================================================
More information about the cmake-developers
mailing list