[CMake] Fwd: A bug for Code::Blocks MinGW?

John Drescher drescherjm at gmail.com
Wed Dec 2 20:44:51 EST 2009


---------- Forwarded message ----------
From: John Drescher <drescherjm at gmail.com>
Date: Wed, Dec 2, 2009 at 8:44 PM
Subject: Re: [CMake] A bug for Code::Blocks MinGW?
To: Song Zhiwei <songzw 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
> &quot;$file&quot;" />
>            <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 &quot; 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



-- 
John M. Drescher


More information about the CMake mailing list