CDep comes from members of the Android Studio team and is not an official Google product. It is a work in progress and subject to change over time. Backward compatibility with existing packages will be maintained.
Get started with CDep
Here are some things you can do to get started with CDep.
If you have a CMake project, open your CMakeLists.txt and add the following code at the end of the file. This tells CMake to locate the module glue file and add all the dependencies in that file to your_target_library.
CDep
CDep is a decentralized native package dependency manager with a focus on Android.
Anyone can author a package and there is a growing list of useful packages, such as Freetype 2.0, SDL, ShaderC, STB, RE2 Regular Expressions, Firebase, MathFu, Vectorial, Boost, Yaml-CPP, SQLite, LUA.
CDep comes from members of the Android Studio team and is not an official Google product. It is a work in progress and subject to change over time. Backward compatibility with existing packages will be maintained.
Get started with CDep
Here are some things you can do to get started with CDep.
Getting started on Windows
Get started with CDep on Windows, enter the following in the command line:
After this, the instructions are the same as Linux and Mac.
Getting started on Linux and Mac
Get started with CDep on Linux or Mac by following these steps:
cdep.ymland add the following line:Learn more about the cdep.yml file here.cdepcommand to download SQLite and generate CMake module for it.CMakeLists.txtand add the following code at the end of the file. This tells CMake to locate the module glue file and add all the dependencies in that file toyour_target_library.When you call CMake to generate the project you’ll need to tell it where to find the glue modules. So something like,For more details on setting up CMake build with CDep visit Add CDep dependencies to an existing Android Studio CMake project.