[Cmake] Custom Generator not working any more...

John Biddiscombe jbiddiscombe at skippingmouse.co.uk
Tue, 10 Feb 2004 08:26:29 -0000


Bill (I'm guessing)...

I have a subclass of the Borland Global Makefile generator...

in the constructor I used to do this...

std::string iname = mf->GetDefinition("CMAKE_ROOT");
iname += "/Modules/Platform/Windows-CBuilder.cmake";
mf->AddDefinition("CMAKE_SYSTEM_AND_C_COMPILER_INFO_FILE",iname.c_str());
mf->AddDefinition("CMAKE_SYSTEM_AND_CXX_COMPILER_INFO_FILE",iname.c_str());
this->cmGlobalBorlandMakefileGenerator::EnableLanguage(l, mf);

but now this isn't being picked up and my custom template isn't being used.

What's changed? Can I still force the use of my own template. Clearly the
...INFO_FILE aren't used any more so setting this has no effect. what should
I set instead. I've had a poke around, but lots seems to have changed since
my last update.

thanks

JB