User forums > Using Code::Blocks

SConstruct (Scons)

(1/6) > >>

johne53:
I'm led to believe that C::B can be configured to work with Scons. Can anyone tell me how to set this up? Is it via a plugin or something?

Game_Ender:
You have to set up Code::Blocks to call an external build tool instead of its own compiler system.

johne53:
One of the thigs that impressed me about the Windows version of Code::Blocks was that I could import an existing Visual C++ project which would instantly create a full project tree within C::B.

Is anything like that available for an existing Scons file - or even a Make file?

TDragon:

--- Quote from: johne53 on April 29, 2007, 08:42:00 am ---One of the thigs that impressed me about the Windows version of Code::Blocks was that I could import an existing Visual C++ project which would instantly create a full project tree within C::B.

Is anything like that available for an existing Scons file - or even a Make file?

--- End quote ---
No, not currently. Importing a Scons file is a possibility (though not yet implemented), but importing a Makefile is highly unlikely. Makefiles are so flexible and powerful that there is no standard way of defining them, so it would be very difficult to design a parser that could translate an appropriate C::B project from even a small fraction of Makefiles "in the wild".

johne53:
Thanks TDragon - looks like I'll have to do it the hard way then...!  :)

Navigation

[0] Message Index

[#] Next page

Go to full version