Author Topic: Save project as Dev-C++ or MS formats?  (Read 8192 times)

reaper

  • Guest
Save project as Dev-C++ or MS formats?
« 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.

Offline Game_Ender

  • Lives here!
  • ****
  • Posts: 551
Re: Save project as Dev-C++ or MS formats?
« Reply #1 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.

Offline Grom

  • Almost regular
  • **
  • Posts: 206
Re: Save project as Dev-C++ or MS formats?
« Reply #2 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.
gcc+winXP+suse.

Offline Game_Ender

  • Lives here!
  • ****
  • Posts: 551
Re: Save project as Dev-C++ or MS formats?
« Reply #3 on: January 30, 2007, 08:23:11 am »
They key word being "wxDevC++", not DevC++ they are different but related programs.

Offline raph

  • Almost regular
  • **
  • Posts: 242
Re: Save project as Dev-C++ or MS formats?
« Reply #4 on: January 30, 2007, 03:18:21 pm »
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.

Offline chameleon

  • Multiple posting newcomer
  • *
  • Posts: 40
Re: Save project as Dev-C++ or MS formats?
« Reply #5 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.

Offline Der Meister

  • Regular
  • ***
  • Posts: 307
Re: Save project as Dev-C++ or MS formats?
« Reply #6 on: February 01, 2007, 09:21:40 pm »
Then go ahead and write a plugin for it.
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.

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: Save project as Dev-C++ or MS formats?
« Reply #7 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...
Be patient!
This bug will be fixed soon...

Offline Game_Ender

  • Lives here!
  • ****
  • Posts: 551
Re: Save project as Dev-C++ or MS formats?
« Reply #8 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.
« Last Edit: February 04, 2007, 01:43:19 am by Game_Ender »