Hi all,
not sure if this could belong here: I am a C::B newbie, I set down and built it from sources after getting an exception when trying to use the MSVC compiler in my projects. While debugging C::B I discovered the exception rises from compiler.cpp(252):
void Compiler::GenerateCommandLine(wxString& macro, (etc))
{
if (!m_pGenerator)
cbThrow(_T("Compiler::Init() not called or generator invalid!"));
Actually, my project has 4 targets: 2 of them build a debug and a release version using GCC, the remaining 2 build a debug and a release version using MSVC. Seems to me that this is not currently supported, as only one Compiler object is actually Init()ialized (and indeed, a MSVC-only project works)... am I right? Is there any workaround - aside from creating 2 different projects? Is this one of the changes going on in the Compiler Framework redesign?
Cheers,
Fabrizio