[Cmake] CMake-1.4.7: small bug in Borland makefile generator

Stefan Kowski stefan.kowski at gmx.de
Tue Jan 21 06:03:23 EST 2003


Hi,

in line 348 of the file cmBorlandMakefileGenerator.cxx there must be a blank
at the begin of the string:

  if(t.GetType() == cmTarget::WIN32_EXECUTABLE)
    {
    command +=  "-tW -tWM ";	// <- missing blank
    }

I think it should be

    command +=  " -tW -tWM ";

Without the blank, the executable name in the generated makefile will be
'foobar.exe-tW'.

Stefan Kowski

PS. I just downloaded the source of the 1.6 Beta, but I could not find the
class there. There are Local/GlobalGenerator classes for MSVC6 etc., but not
LocalGenerator class for Borland. Is it missing?




More information about the CMake mailing list