How do I manage external library dependency in C development environment?

Asked 1 years ago, Updated 1 years ago, 100 views

Is there a tool in Java that you use in the C development environment like maven or gradient?

c dependency-management

2022-09-22 15:02

2 Answers

On UNIX (Linux), it is solved with automake, autoconf, and libtool.

We don't send external libraries directly like maven or gradle and include them Generates a configure script that determines whether the current system and environment settings are ready to compile the project, whether an external library exists, version checks, library link options, and so on.

On other platforms, you can use CMake to achieve the same effect.

Reference document


2022-09-22 15:02

cpm.I don't know if I can use it as conveniently as 10,000 maven or gradle.


2022-09-22 15:02

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.