cdep

所属分类:系统编程
开发工具:Java
文件大小:0KB
下载次数:0
上传日期:2023-06-20 18:55:06
上 传 者sh-1993
说明:  CDep是一个去中心化的本地包依赖关系管理器,专注于Android。在Windows、Linux和MacOS上运行。,
(CDep is a decentralized native package dependency manager with a focus on Android. Runs on Windows , Linux, and MacOS.,)

文件列表:
.travis.yml (2867, 2023-06-20)
CONTRIBUTING.md (984, 2023-06-20)
LICENSE (11341, 2023-06-20)
boot.yml (121, 2023-06-20)
bootstrap/ (0, 2023-06-20)
bootstrap/build.gradle (1764, 2023-06-20)
bootstrap/gradle/ (0, 2023-06-20)
bootstrap/gradle/wrapper/ (0, 2023-06-20)
bootstrap/gradle/wrapper/gradle-wrapper.properties (230, 2023-06-20)
bootstrap/gradlew (5242, 2023-06-20)
bootstrap/gradlew.bat (2176, 2023-06-20)
bootstrap/settings.gradle (32, 2023-06-20)
bootstrap/src/ (0, 2023-06-20)
bootstrap/src/main/ (0, 2023-06-20)
bootstrap/src/main/java/ (0, 2023-06-20)
bootstrap/src/main/java/io/ (0, 2023-06-20)
bootstrap/src/main/java/io/cdep/ (0, 2023-06-20)
bootstrap/src/main/java/io/cdep/bootstrap/ (0, 2023-06-20)
bootstrap/src/main/java/io/cdep/bootstrap/Bootstrap.java (4305, 2023-06-20)
bootstrap/src/main/java/io/cdep/bootstrap/BuildInfo.java (93, 2023-06-20)
bootstrap/src/main/java/io/cdep/bootstrap/WebUtils.java (1554, 2023-06-20)
bootstrap/src/test/ (0, 2023-06-20)
bootstrap/src/test/java/ (0, 2023-06-20)
bootstrap/src/test/java/io/ (0, 2023-06-20)
bootstrap/src/test/java/io/cdep/ (0, 2023-06-20)
bootstrap/src/test/java/io/cdep/bootstrap/ (0, 2023-06-20)
bootstrap/src/test/java/io/cdep/bootstrap/TestBootstrap.java (2824, 2023-06-20)
boringssl/ (0, 2023-06-20)
boringssl/build-boringssl.sh (586, 2023-06-20)
boringssl/cdep (5361, 2023-06-20)
boringssl/cmakeify.yml (154, 2023-06-20)
build.gradle (727, 2023-06-20)
cdep-work.iml (746, 2023-06-20)
cdep/ (0, 2023-06-20)
cdep/build.gradle (2200, 2023-06-20)
cdep/gradle/ (0, 2023-06-20)
cdep/gradle/wrapper/ (0, 2023-06-20)
... ...

[![Build Status](https://travis-ci.org/google/cdep.svg?branch=master)](https://travis-ci.org/google/cdep) [![Gitter](https://badges.gitter.im/google-cdep/Lobby.svg)](https://gitter.im/google-cdep/Lobby) # CDep CDep is a decentralized native package dependency manager with a focus on Android. - Runs on Windows, Linux, and MacOS - Works with [Android Studio](https://d.android.com/studio/index.html), CMake, and [ndk-build](https://d.android.com/ndk/guides/ndk-build.html). CMake support is for both [Android Studio version of CMake](https://developer.android.com/studio/projects/add-native-code.html) 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](https://github.com/jomof/freetype), [SDL](https://github.com/jomof/sdl), [ShaderC](https://github.com/ggfan/shaderc/releases), [STB](https://github.com/jomof/stb), [RE2 Regular Expressions](https://github.com/jomof/re2), [Firebase](https://github.com/jomof/firebase), [MathFu](https://github.com/jomof/mathfu), [Vectorial](https://github.com/jomof/vectorial), [Boost](https://github.com/jomof/boost), [Yaml-CPP](https://github.com/jomof/yaml-cpp), [SQLite](https://github.com/jomof/sqlite), [LUA](https://github.com/jomof/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](doc/android-studio-cmake.md) * [Author a new CDep package and host it on Github](doc/authoring.md) * [Learn about the structure of CDep packages](doc/anatomy.md) * [Contribute to CDep](CONTRIBUTING.md) * [Request a new package or submit a bug report](https://github.com/google/cdep/issues/new) * [See an Android Studio Freetype and SDL2 sample](https://github.com/jomof/cdep-android-studio-freetype-sample) * [See an Android Studio ndk-build sample](https://github.com/jomof/ndk-build-meet-cdep) * [Learn how CDep resolves coordinates](doc/coordinate-resolution.md) * [Learn about CDep tool command line flags](doc/command-line-flags.md) * [Learn about cdep.yml file](doc/cdep-yml.md) ## 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](doc/cdep-yml.md). 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](https://github.com/google/cdep/blob/master/doc/android-studio-cmake.md).

近期下载者

相关文件


收藏者