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
