Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: reaper on January 27, 2007, 10:46:30 pm

Title: Save project as Dev-C++ or MS formats?
Post by: reaper on January 27, 2007, 10:46:30 pm
One feature I'd really like to see in Code::Blocks would be saving projects in Dev-C++ or Visual-C++ formats, this is because a lot of my friends use these IDEs instead and while I can import them into Codeblocks it's not so easy for them to use a Codeblocks project of mine.
Title: Re: Save project as Dev-C++ or MS formats?
Post by: Game_Ender on January 28, 2007, 06:05:33 pm
You are going to have to write a plugin to do that yourself.  I don't think the CB devs are going to spend to much time on export formats.  You should also get your friends off Dev-C++, I think CB has pretty much superseded it.
Title: Re: Save project as Dev-C++ or MS formats?
Post by: Grom on January 29, 2007, 06:11:35 am
DevC++ has a nice GUI development tool... wxSmith has more promising future, but still is not good enough... So I am using wxDevC++ as GUI tool and CB for code development.
Title: Re: Save project as Dev-C++ or MS formats?
Post by: Game_Ender on January 30, 2007, 08:23:11 am
They key word being "wxDevC++", not DevC++ they are different but related programs.
Title: Re: Save project as Dev-C++ or MS formats?
Post by: raph on January 30, 2007, 03:18:21 pm
Maybe something like premake (http://premake.sourceforge.net/) will help.
It allows creating of makefiles, Visual C++ project files, codeblocks project files, etc with very little effort.
DevCpp afaik can import  Visual C++ project files.
Title: Re: Save project as Dev-C++ or MS formats?
Post by: chameleon on February 01, 2007, 06:59:23 pm
Code::Blocks at least must export CMake compatible makefiles.

Then let CMake to do that job.

I believe it is very important.
Title: Re: Save project as Dev-C++ or MS formats?
Post by: Der Meister on February 01, 2007, 09:21:40 pm
Then go ahead and write a plugin for it.
Title: Re: Save project as Dev-C++ or MS formats?
Post by: mandrav on February 01, 2007, 09:45:05 pm
Then go ahead and write a plugin for it.

For importers/exporters, a script would more suitable instead of a binary plugin...
Title: Re: Save project as Dev-C++ or MS formats?
Post by: Game_Ender on February 04, 2007, 01:38:18 am
Code::Blocks at least must export CMake compatible makefiles.

Then let CMake to do that job.

I believe it is very important.

Well you believe wrong :), it should work the other way around.  CMake should create CB project files from its own files, it generates platform specific files, like VS 2005 projects on Windows, XCode projects on Mac, and Makefiles on Linux.  A module for CMake that generates CB project files for all platforms would be very helpful.  There was even a CMake developer interested in this a while ago.

A major reason for this is that CMake does the whole auto configure and process while CB doesn't.  So you would not really be taking advantage of CMake if you generate those files from CB projects.