Re: [CMake] builds using mingw with sources on different drive

2011-04-08 Thread Brad King
On 03/29/2011 09:54 AM, Brad King wrote: The fix in this case is in Source/cmLocalUnixMakefileGenerator3.cxx in the CreateCDCommand method. Try changing the two appearances of cmd = cd in the Windows case to cmd = cd /d http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=b5676134

[CMake] builds using mingw with sources on different drive

2011-03-29 Thread J Decker
I was trying to build a project on a seperate drive from the sources. This works very well for lots of my projects, and so a cmake based project should work as well. There is a limitation in cmake using 'command' with working directory BASE_BUILD_COMMAND is make_gamedata_arch.bat

Re: [CMake] builds using mingw with sources on different drive

2011-03-29 Thread Brad King
On 03/29/2011 02:28 AM, J Decker wrote: This ends up building a command line that looks like (On c:) cd L:\games\spring\cont\base make_gamedata_arch.bat ... since the current drive is the C drive, this doesn't change the drive, it only changes the drive on L:, so you'd have to