News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Is there a makefile-to-codeblocks project?

Started by hckr83, September 04, 2006, 02:33:57 AM

Previous topic - Next topic

hckr83

Is there a plugin(done, or work in progress) that converts a makefile to a codeblocks project?

takeshimiya

Quote from: hckr83 on September 04, 2006, 02:33:57 AM
Is there a plugin(done, or work in progress) that converts a makefile to a codeblocks project?
In short: no.
If you can make one, it will be welcome.

hckr83

#2
meh, maybe but I have no experience with codeblocks deving or even XML! so I think its a bit out of reach for now but might try it when I get bored

edit:
oh umm is there like a makefile generator that makes a *nix makefile(doing things like /'s instead of \'s)

MortenMacFly

I believe a Makefile-To-[Whatever] is really hard to achive - I'd even say impossible. I've seen so many Makefiles in my life and trust me - some of them don't even share a single design element in common.
Anyway: I personally don't find it too hard to "port" a Makefile project to C::B (I have done it many times) as you can usually see the command line that is executed for each compilation step. I note down the settings (defines, includes, libs etc.), then import all files into a new projects and adjust the settings accordingly. Until now this worked very well also for large enterprise applications.
With regards, Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

Poobah


MortenMacFly

Quote from: Poobah on September 12, 2006, 01:49:17 AM
Is there a codeblocks-to-makefile project?
There used to be but this is currently disabled. Search the forum for more information on that topic. RC2 still has this feature.
With regards, Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]