/conan-godot-cpp-scripts

Scripts to build godot-cpp conan packages

Primary LanguageShellMIT LicenseMIT

GitHub license Android status iOS status Linux status macOS status Windows status

Conan Godot-Cpp

This repository contains a conan receipe that can be used to build godot-cpp packages.

For Infos about godot-cpp please visit Github.
The library is licensed under the MIT License.
This repository is licensed under the MIT License.

Android

The environmental ANDROID_NDK_PATH must be set to the path of the android ndk.

To create a package for Android you can run the following commands like:

export ANDROID_NDK_PATH='/opt/android-ndks/android-ndk-r20b' conan create . godot-cpp/20191217@rgpaul/stable -s os=Android -s os.api_level=21 -s compiler=clang -s compiler.version=8.0 -s compiler.libcxx=libc++ -s build_type=Release -o android_ndk=r20b -o android_stl_type=c++_static -s arch=x86_64

Requirements

Debian 9 (Stretch)

To create a package for Debian you can run the conan command like this:

conan create . godot-cpp/20191217@rgpaul/stable -s os=Linux -s arch=x86_64 -s build_type=Release -o shared=False

Requirements

  • CMake
  • Conan
  • build-essential, make, curl, git, unzip and zip (apt-get install build-essential cmake curl git unzip zip)

iOS

To create a package for iOS you can run the conan command like this:

conan create . godot-cpp/20191217@rgpaul/stable -s os=iOS -s os.version=12.1 -s arch=armv7 -s build_type=Release -o shared=False

Requirements

macOS

To create a package for macOS you can run the conan command like this:

conan create . godot-cpp/20191217@rgpaul/stable -s os=Macos -s os.version=10.14 -s arch=x86_64 -s build_type=Release -o shared=False

Requirements

Windows 10

To create a package for Windows 10 you can run the conan command like this:

conan create . godot-cpp/20191217@rgpaul/stable -s os=Windows -s compiler="Visual Studio" -s compiler.runtime=MT -s arch=x86_64 -s build_type=Release -o shared=False

Requirements