Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: NuSkooler on August 28, 2009, 05:29:11 AM

Title: Bakefile Code::Blocks project output
Post by: NuSkooler on August 28, 2009, 05:29:11 AM
I am currently using Bakefile (http://www.bakefile.org) for a large multi platform development project. This works great for centralizing projects (XML "Bakefiles") and outputting to MSVS project/solutions, GNU makefiles, etc. On Windows I use MSVS for development & debugging. On Linux, I'd really like to use Code::Blocks. However, re-creating what is already done in ever evolving Bakefiles into Code::Blocks projects is impractical.

In doing a little research on the matter I ran across a an old thread about the subject (http://forums.next.codeblocks.org/index.php/topic,920.0.html). Some of the last few posts state a work in progress project, but that was in 2006.

Anyone have news on this? Is the project dropped? Has anyone else looked into it? It seems this would be a great addition to Bakefile AND Code::Blocks. If anyone has any information, I'd love to hear it!
Title: Re: Bakefile Code::Blocks project output
Post by: NuSkooler on October 13, 2009, 05:06:52 PM
No information / updates on this?

Is there a workaround? I simply need to take our current Bakefiles & output any format Code::Blocks can understand. I've experimented with different options, but no luck :(

Any tips appreciated!
Title: Re: Bakefile Code::Blocks project output
Post by: Kazade on October 13, 2009, 05:13:15 PM
I don't know anything about Bakefile... but Code::Blocks can import Visual C++ projects (File=>Import Project) did you try that? Although, you'll likely need to fiddle with the compiler settings afterwards. You can also use Makefiles directly in Code::Blocks.
Title: Re: Bakefile Code::Blocks project output
Post by: NuSkooler on October 13, 2009, 05:51:26 PM
The problem is, I need this for Linux. On Windows, we use Visual Studio. On Linux, we're looking to standardize a tool for developers -- I'd like it to be Code::Blocks, if possible, but it must fit into our build scheme somehow which is currently Bakefile based.

If there is any way to go from Bakefile -> something Code::Blocks supports, it would be perfect. We don't even need to be able to re-save projects -- just read them (that is all done via editing Bakefiles).

Here are the supported output formats of Bakefile (from --help):

autoconf      GNU autoconf Makefile.in files
borland       Borland C/C++ makefiles
dmars         Digital Mars makefiles
dmars_smake   Digital Mars makefiles for SMAKE
gnu           GNU toolchain makefiles (Unix)
mingw         MinGW makefiles (mingw32-make)
msevc4prj     MS eMbedded Visual C++ 4 project files
msvc          MS Visual C++ nmake makefiles
msvc6prj      MS Visual C++ 6.0 project files
msvs2003prj   MS Visual Studio 2003 project files
msvs2005prj   MS Visual Studio 2005 project files
msvs2008prj   MS Visual Studio 2008 project files
symbian       Symbian development files
watcom        OpenWatcom makefiles
xcode2        Xcode 2.4 project files
Title: Re: Bakefile Code::Blocks project output
Post by: Kazade on October 13, 2009, 06:43:41 PM
Try importing the MSVC (vcproj) file. I think it should work on Linux too.