项目作者: Lugdunum3D

项目描述 :
ThirdParty libraries for Lugdunum3D/Lugdunum
高级语言: Python
项目地址: git://github.com/Lugdunum3D/ThirdParty-Builder.git
创建时间: 2017-02-23T10:05:29Z
项目社区:https://github.com/Lugdunum3D/ThirdParty-Builder

开源协议:

下载


ThirdParty Builder

Automatization tools to build third parties libraries for Lugdunum3D/Lugdunum and Lugdunum3D/LugBench

Setup

  1. pip install -r requirements.txt

Build

You need to specify a yaml configuration file to build the libraries similar to this one:

  1. shaderc:
  2. repository:
  3. tag: dcb30368cdbb91930aee6d86a0fc210f98304bcd
  4. vulkan:
  5. repository:
  6. tag: 685295031d092db5417a5254e4f8b3e8024214cf

Configuration files

Lugdunum3D/Lugdunum :
thirdparty.yml

Lugdunum3D/LugBench :
thirdparty.yml
android_thirdparty.yml

Android

  • You must set the env variable ANDROID_SDK_ROOT with the path to your Android SDK
  • You need to specify --android as argument of build.py

How to use

The python script build.py will use this configuration file to build an arborescence in the directory specified with the option --path (thirdparty by default).

  1. python build.py config.yml

How it works

The value for each builder is the configuration sent to it and is dependent of the builder, see each python file in the directory builders/ to check the avalaible configuration for each one. The key repository.tag is mandatory, you can also specify the key repository.uri to specify which git repository you want to use.