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 <[email protected]> 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 <[email protected]>: > > CMake 2.8.0 on Windows > > > > 2009/12/3 John Drescher <[email protected]>: > >>> 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 >
_______________________________________________ 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
