News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Save project as Dev-C++ or MS formats?

Started by reaper, January 27, 2007, 10:46:30 PM

Previous topic - Next topic

reaper

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.

Game_Ender

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.

Grom

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.
gcc+winXP+suse.

Game_Ender

They key word being "wxDevC++", not DevC++ they are different but related programs.

raph

Maybe something like premake 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.

chameleon

Code::Blocks at least must export CMake compatible makefiles.

Then let CMake to do that job.

I believe it is very important.

Der Meister

Real Programmers don't comment their code. If it was hard to write, it should be hard to understand.
Real Programmers don't write in BASIC. Actually, no programmers write in BASIC, after the age of 12.

mandrav

Quote from: Der Meister on February 01, 2007, 09:21:40 PM
Then go ahead and write a plugin for it.

For importers/exporters, a script would more suitable instead of a binary plugin...
Be patient!
This bug will be fixed soon...

Game_Ender

#8
Quote from: 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.

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.