0

I am looking for an C++ IDE for Linux (other than Vim or Emacs :) ) that would automatically import a makefile (even better - automakefile), be able to compile the sources and on top of it run boost unit tests.

I have tried QT Creator, but it doesn't seem to import makefiles, and KDevelop which imports makefiles fine, but I couldn't figure out how to run unit tests.

I would be grateful for suggestions. Please let me know how to use the functionality I am after if its not obvious :)

Grzenio
  • 35,875
  • 47
  • 158
  • 240

3 Answers3

1

Hazarding a guess: eclipse?

I know for a fact that you can use eclipse as a C++ IDE (I do), and I'm reasonably certain that there would be some plugin available for automake and boost.

jrharshath
  • 25,975
  • 33
  • 97
  • 127
  • [Here](http://stackoverflow.com/questions/2491380/boost-test-and-eclipse/3778246#3778246) is a related answer to a different question that deals with parsing the boost test ouput in eclipse. The makefile project is also simple, create a new c/c++ empty makefile project in the same directory where the root Makefile is. – David Rodríguez - dribeas Oct 05 '10 at 11:19
1

Try http://www.codeblocks.org/

Draco Ater
  • 20,820
  • 8
  • 62
  • 86
0

Netbeans might be able to do it. In any case, it can import existing projects with a makefile; not sure about the rest of your requirements though.

tdammers
  • 20,353
  • 1
  • 39
  • 56
  • Hi, how can I import makefiles? I am looking just now and I can't see this option... – Grzenio Oct 05 '10 at 08:57
  • Well, you can open existing projects: Go to File > New Project, select C/C++ and then C/C++ Project With Existing Sources. This should load your sources and headers as well as the makefile into a new netbeans project. – tdammers Oct 05 '10 at 09:00
  • Ahhh, I didn't think of creating a new project :) – Grzenio Oct 05 '10 at 09:07
  • I managed to open the project and it builds fine, but now I can't find how to run the unit tests – Grzenio Oct 05 '10 at 09:47
  • As I said, I have no idea about boost unit tests. I generally whip up my own; netbeans might not support them after all. – tdammers Oct 05 '10 at 10:59