Missing " around the file name which contains spaces when producing the Code::Blocks project file
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
I use CMake to generate a Code::Blocks MinGW Makefiles for my project Module4Test. Module4Test.cbp contains lines as below:
<MakeCommands>
<Build command="C:/MinGW/bin/mingw32-make.exe -f
C:/Documents\ and\ Settings/Song\ Zhiwei/Desktop/build2/src/Makefile
module4test/fast" />
<CompileFile command="C:/MinGW/bin/mingw32-make.exe -f
C:/Documents\ and\ Settings/Song\ Zhiwei/Desktop/build2/src/Makefile
"$file"" />
<Clean command="C:/MinGW/bin/mingw32-make.exe -f
C:/Documents\ and\ Settings/Song\ Zhiwei/Desktop/build2/src/Makefile
clean" />
<DistClean command="C:/MinGW/bin/mingw32-make.exe -f
C:/Documents\ and\ Settings/Song\ Zhiwei/Desktop/build2/src/Makefile
clean" />
</MakeCommands>
As you noticed, no "
are added around C:/Documents\..../Makefile
, so the build fails.
I think it is a bug