[cmake-developers] [CMake 0015993]: "NMake Makefiles" generator doesn't escape special characters (such as '#') in build directory name correctly

Mantis Bug Tracker mantis at public.kitware.com
Sun Feb 28 18:16:36 EST 2016


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=15993 
====================================================================== 
Reported By:                Roy Ivy III
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15993
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2016-02-28 18:16 EST
Last Modified:              2016-02-28 18:16 EST
====================================================================== 
Summary:                    "NMake Makefiles" generator doesn't escape special
characters (such as '#') in build directory name correctly
Description: 
When using `cmake -G "NMake Makefiles"` from a directory containing
nmake-special characters, such as '#', the special characters are not escaped
causing incorrect macro definitions and build executions.

The special characters should be escaped with '^'.

Steps to Reproduce: 
cd REPO
mkdir #build
cd #build
cmake -G "NMake Makefiles" REPO_SRC
nmake
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2016-02-28 18:16 Roy Ivy III    New Issue                                    
======================================================================



More information about the cmake-developers mailing list