MantisBT - CMake |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0014927 | CMake | CMake | public | 2014-05-22 13:40 | 2014-11-03 08:38 |
|
Reporter | Mark Salisbury | |
Assigned To | Brad King | |
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | | OS Version | |
Product Version | CMake 2.8.12.2 | |
Target Version | CMake 3.1 | Fixed in Version | CMake 3.1 | |
|
Summary | 0014927: Visual Studio 7-9 generators case bools incorrectly |
Description | In attempting to use a CMake generated .vcproj file with a local tool that parses .vcproj files I discovered that CMake cases boolean values "TRUE" and "FALSE".
.NET XML parsing chokes on anything but "true", "false", "0", "1". (See http://blogs.msdn.com/b/helloworld/archive/2009/04/03/workaround-to-deserialize-true-false-using-xmlserializer.aspx [^])
Visual Studio natively saves boolean values in .vcproj files with lowercase ("true"/"false"). I assume there would be no harm in modifying CMake to use lowercase bools.
I will submit a patch to address this issue. |
Steps To Reproduce | Generate any Visual Studio 7-9 project file. |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | 0001-Modified-Visual-Studio-7-9-generators-lowercase-bool.patch (8,250) 2014-05-28 16:25 https://public.kitware.com/Bug/file/5158/0001-Modified-Visual-Studio-7-9-generators-lowercase-bool.patch |
|
Issue History |
Date Modified | Username | Field | Change |
2014-05-22 13:40 | Mark Salisbury | New Issue | |
2014-05-22 13:40 | Mark Salisbury | File Added: 0001-Modified-Visual-Studio-7-9-generators-lowercase-bool.patch | |
2014-05-22 13:47 | Mark Salisbury | Note Added: 0035914 | |
2014-05-22 13:49 | Brad King | File Deleted: 0001-Modified-Visual-Studio-7-9-generators-lowercase-bool.patch | |
2014-05-22 13:50 | Brad King | Note Added: 0035915 | |
2014-05-28 16:25 | Mark Salisbury | File Added: 0001-Modified-Visual-Studio-7-9-generators-lowercase-bool.patch | |
2014-05-28 16:26 | Mark Salisbury | Note Added: 0035959 | |
2014-05-29 10:01 | Brad King | Note Added: 0035968 | |
2014-05-29 10:01 | Brad King | Assigned To | => Brad King |
2014-05-29 10:01 | Brad King | Status | new => resolved |
2014-05-29 10:01 | Brad King | Resolution | open => fixed |
2014-05-29 10:01 | Brad King | Fixed in Version | => CMake 3.1 |
2014-05-29 10:01 | Brad King | Target Version | => CMake 3.1 |
2014-11-03 08:38 | Robert Maynard | Note Added: 0037151 | |
2014-11-03 08:38 | Robert Maynard | Status | resolved => closed |
Notes |
|
(0035914)
|
Mark Salisbury
|
2014-05-22 13:47
|
|
Oops. Should have previewed first patch before I submitted. It included files I did not mean to include. |
|
|
(0035915)
|
Brad King
|
2014-05-22 13:50
|
|
Re 0014927:0035914: Okay, I deleted the incorrect patch. Please attach again. |
|
|
(0035959)
|
Mark Salisbury
|
2014-05-28 16:26
|
|
OK, uploaded again. Thanks Brad. |
|
|
(0035968)
|
Brad King
|
2014-05-29 10:01
|
|
|
|
(0037151)
|
Robert Maynard
|
2014-11-03 08:38
|
|
Closing resolved issues that have not been updated in more than 4 months. |
|