I'm bringing a project over that I previously developed on Eclipse so I'm using an existing makefile.You completely forgot to add what version/OS you are using C::B with. So I can only guess:
You will then benefit from all the advantages C::B ships with in contrast to "makefile only".
Yes but CB's project files aren't really any better than makefiles.No, I wouldn't say this for several reasons:
No, I wouldn't say this for several reasons:
1.) The C::B build sytem is much faster than with Makefiles
2.) You not neccesarily need several project files to be cross-platform compatible. In fact I have quite some projects that compile just fine under Windows and Linux with a single project file. This is only different if libraries require different settings on different platforms. But with global variables and/or user variables you can even work-around this.
With regards, Morten.
yop- So if you tweak you the makefiles object file output directories to match codeblocks, then everything should work fine?Or the other way around, tweek your codeblocks project. But still if you have to dive into subdirs to find sources then there are no guaranties. I haven't lately tried it though (knowing the limitations I try to keep both parties happy make and c::b).
...or a command line tool capable of building the projects based on the C::B project files should be implemented. And it should be written in a way it will be possible to compile it on nearly any imaginable OS.The only compromise you have if you want something working right now, is to use premake (http://premake.sourceforge.net/), which generates makefiles (no autoconf stuff), codeblocks projects, msvc projects, etc.
It looks like a mix of scons (A good interface language ) and CMake (generates build files, doens't run the build).Yes, or a mix of lua (easy embeddable language) and bakefile (generates makefiles and projects).
-- Creates a project for the minimal wx sample
project.name = "minimal"
package = newpackage()
package.language = "c++"
package.files = { "minimal.cpp" }
package.buildoptions = { "`wx-config --cxxflags`" }
package.linkoptions = { "`wx-config --libs`" }