GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - google/cdep: CDep is a decentralized native package dependency manager with a focus on Android. Runs on Windows, Linux, and MacOS.

This repository was archived by the owner on Apr 17, 2026. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

360 Commits
360 Commits

Folders and files

NameName
Last commit message
Last commit date
bootstrap
bootstrap
 
 
boringssl
boringssl
 
 
cdep
cdep
 
 
doc
doc
 
 
gradle/wrapper
gradle/wrapper
 
 
integration
integration
 
 
redist
redist
 
 
smoke-test
smoke-test
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
.travis.yml
.travis.yml
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
boot.yml
boot.yml
 
 
build.gradle
build.gradle
 
 
cdep-work.iml
cdep-work.iml
 
 
cmakeify
cmakeify
 
 
gradlew
gradlew
 
 
gradlew.bat
gradlew.bat
 
 
proguard.txt
proguard.txt
 
 
run_smoke_test
run_smoke_test
 
 
settings.gradle
settings.gradle
 
 
travis_cdep
travis_cdep
 
 

Repository files navigation

Build Status Gitter

CDep

CDep is a decentralized native package dependency manager with a focus on Android.

  • Runs on Windows, Linux, and MacOS
  • Works with Android Studio, CMake, and ndk-build. CMake support is for both Android Studio version of CMake and the built-in Android support that was added to CMake in version 3.7.1.

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.

  • Add CDep dependencies to an existing Android Studio CMake project
  • Author a new CDep package and host it on Github
  • Learn about the structure of CDep packages
  • Contribute to CDep
  • Request a new package or submit a bug report
  • See an Android Studio Freetype and SDL2 sample
  • See an Android Studio ndk-build sample
  • Learn how CDep resolves coordinates
  • Learn about CDep tool command line flags
  • Learn about cdep.yml file

Getting started on Windows

Get started with CDep on Windows, enter the following in the command line:

 > git clone https://github.com/jomof/cdep-redist.git  
 > cd my-project
 > ..\cdep-redist\cdep wrapper

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:

  1. Open a terminal window and navigate to the directory where your project is located.
  2. Enter the following commands:
    $ git clone https://github.com/jomof/cdep-redist.git  
    $ cd my-project
    $ ../cdep-redist/cdep wrapper
    
    This creates the following files in your local directory (and are meant to be checked into source control):
    cdep   
    cdep.bat
    cdep.yml
    bootstrap\wrapper\bootstrap.jar
    
  3. Open cdep.yml and add the following line:
    dependencies:
    # This line tells CDep that your project depends on SQLite.
    - compile: com.github.jomof:sqlite:3.16.2-rev51
    
    Learn more about the cdep.yml file here.
  4. Run the cdep command to download SQLite and generate CMake module for it.
    $ ./cdep
    Generating .cdep/modules/cdep-dependencies-config.cmake
    
  5. 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.
    find_package(cdep-dependencies REQUIRED)
    add_all_cdep_dependencies(your_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,
    cmake -Dcdep-dependencies_DIR=.cdep/modules
    

For more details on setting up CMake build with CDep visit Add CDep dependencies to an existing Android Studio CMake project.

About

CDep is a decentralized native package dependency manager with a focus on Android. Runs on Windows, Linux, and MacOS.

Topics

android

Resources

Readme
Apache-2.0 license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

105 stars

Watchers

7 watching

Forks

22 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.