The following issue has been SUBMITTED. ====================================================================== http://public.kitware.com/Bug/view.php?id=14927 ====================================================================== Reported By: Mark Salisbury Assigned To: ====================================================================== Project: CMake Issue ID: 14927 Category: CMake Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2014-05-22 13:40 EDT Last Modified: 2014-05-22 13:40 EDT ====================================================================== Summary: 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. ====================================================================== 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 ====================================================================== -- 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/cgi-bin/mailman/listinfo/cmake-developers