Managing building in C ++ and good Linux IDEs

I'm starting to write a moderate-sized project in C ++ that requires a fairly large number of files and dependencies on other projects.

Do you think that manually maintaining the Makefile for this project is the best approach?

Are there other alternatives for C ++ that make construct management and file dependency management very easy to handle?

Also, which IDE is good for C ++ development on Linux? I like Vim, but you think there are good IDEs for C ++ (like Eclipse for Java) that provide code completion, etc.

Thanks! Ajay

+3
source share
8 answers

CMake. , CMake, IDE.

CMake , , . : foo a.cpp, b.cpp c.h, . unix libfoo.so, foo.dll foo.lib. , . .

CMake make / IDE. , IDE, IDE, .

CMake ++ . 600 1,5 . - Solaris, , , CMake, Visual Studio. ++

eclipse cdt solaris . - . cmake . KDeveloper4 Linux .

+5

KDevelop4 ( rc1 ) + CMake , automake . - , netbeans + ++ , , kdevelop4.

+4

CMake ( scons Jam).

vim qtcreator. Qtcreator , , .

+2

Eclipse ++ - eclipse CDT - , Java, .

+1

Makefile . automake/autoconf, - , .

IDE Emacs. , ..

+1

There is also Code :: Blocks as an IDE with its own build system. But I would advise you to try other build tools (CMake, Boost.Build, SCons) if you want you to be able to create your software “anywhere” without having a fancy integrated development environment .; -)

0
source

I found that Emacs + Scons works very well for me.

0
source

Source: https://habr.com/ru/post/1722933/


All Articles