News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

build targets (debug/release etc)

Started by hd, January 10, 2005, 12:50:10 AM

Previous topic - Next topic

hd

Hi,


If a source file used in one more targets, than IDE don't generate build command except one target.

After a small change in makefilegenerator.cpp I can successfully compile
debug/release targets :)) as shown below:


void MakefileGenerator::DoAddMakefileTarget_Objs(wxString& buffer)
{
   //hd... m_ObjectFiles.Clear();
   wxString tmp;
   int targetsCount = m_Project->GetBuildTargetsCount();
   for (int x = 0; x < targetsCount; ++x)
   {
       ProjectBuildTarget* target = m_Project->GetBuildTarget(x);
       if (!target)
           break;
       
       m_ObjectFiles.Clear(); //hd...

       ....
       

--
Regards,
Hakki Dogusan
:lol:

hd

Hey too much smiling icons there... I think I'm happy :)

hd

I forgat something:

For each target I created a distinct object directory: .objs, objsd etc.

HTH
--
Regards,
Hakki Dogusan