1

I used to have NPM to manage my javascript project like npm init command or etc. but I'm curious about there's a C/C++ open source project manager that manage like NPM. If there is, what's name of C++ project manager?

sophia
  • 171
  • 1
  • 15
  • 1
    https://stackoverflow.com/questions/27866965/does-c-have-a-package-manager-like-npm-pip-gem-etc/30847095#30847095 – Jay Dec 20 '17 at 18:48

1 Answers1

2

CMake is a good project build management tool, but it does not have the dependency management capabilityies NPM or Maven have. You can check out CPM, but it is not actively maintained anymore.

The Maven Nar Plugin for C/C++ projects is another option, but sadly its not very active either. See also the suggestions in the answer to a similar question regarding Maven.

Community
  • 1
  • 1
Beginner
  • 5,277
  • 6
  • 34
  • 71
  • Thank you for answer. Most of C++ open source projects is using CMake? I want to design my project like most projects. – sophia Mar 31 '17 at 07:49
  • @TerNer I think CMake and autotools are the most common, I like CMake better – Beginner Mar 31 '17 at 07:50
  • I used maven Nar plugin and it works quite well. I can have it compile and publish the endstates automatically (for AIX, Linux and Windows etc..) using jenkins. Maven has lot of third party integration which comes in handy as well. Only down side is, maven does not do good in a mono repo scenario. – Hans Apr 05 '18 at 14:53