[CMake] A bug for Code::Blocks MinGW?
David Cole
david.cole at kitware.com
Sat Dec 5 09:50:51 EST 2009
Well, certainly you could put your project in a path without any spaces in
the path name until the bug is fixed...
On Fri, Dec 4, 2009 at 8:17 PM, Song Zhiwei <songzw at gmail.com> wrote:
> Before the bug fixed, is there any way inside CMake to add "
> around the filename? Use special commands?
>
> Zhiwei
>
> 2009/12/3 Song Zhiwei <songzw at gmail.com>:
> > CMake 2.8.0 on Windows
> >
> > 2009/12/3 John Drescher <drescherjm at gmail.com>:
> >>> 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.
> >>>
> >>> Is it a bug?
> >>>
> >>
> >> No its actually escaped correctly for *nix but not windows.
> >>
> >> What version of CMake are you using?
> >> John
> >>
> >
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20091205/5b5ab63f/attachment.htm>
More information about the CMake
mailing list