A simple, source code based dependency management tool.
- Focus on C/C++ projects
- Based on source code, instead of binaries
- Only solving dependency problems, building problems are not considered
git clone this project to a local directory, and set it into PATH variable.
-
Copy SRCDEP.sample.yaml to root directory of your source code and rename to
SRCDEP.yaml
. -
Run
srcdep
at root directory of your source code.
Then thirdparty/zlib_from_git and thirdparty/zlib_from_url will be fetched.
The two script files, fetch_deps and fetch_deps.bat, can be redistributed to your source code root, to help those who don't have srcdep environment, to fetch dependencies conveniently.
Please run srcdep --help
to get the full document.
Please refer to SRCDEP.yaml.