mpusz / conan-irrlicht

Conan recipe for Irrlicht library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GitHub license Conan CI Conan testing

conan-irrlicht

conan-mpusz package for Irrlicht library.

The package generated with this conanfile can be found at conan-mpusz.

conan client can be downloaded from Conan.io.

Use the package

Add the remote

To add conan-mpusz remote to your local conan instance run:

$ conan remote add conan-mpusz https://api.bintray.com/conan/mpusz/conan-mpusz

Basic setup

$ conan install irrlicht/1.8.4@mpusz/stable -pr <your_conan_profile> -b=outdated

Project setup

If you handle multiple dependencies in your project, it would be better to add a conanfile.txt

[requires]
irrlicht/1.8.4@mpusz/stable

[generators]
cmake

or if you are using conanfile.py file add:

requires = "irrlicht/1.8.4@mpusz/stable"

Complete the installation of dependencies for your project by running:

$ mkdir build
$ cd build
$ conan install .. -b=outdated <your_profile_and_settings>
< your typical build process>

Project setup installs the library (and all its dependencies), and assuming you chose cmake as a generator, it generates conanbuildinfo.cmake file that defines variables to make CMake work and find all the dependencies in the Conan local cache.

Available Options

Option Default Values Description
shared False [True, False] Generates shared library
fPIC True [True, False] Generates position-independent code

Build package

$ conan create . <user>/<channel> <your_profile_and_settings>

Upload package to server

$ conan upload -r <remote-name> --all irrlicht/1.8.4@<user>/<channel>

About

Conan recipe for Irrlicht library

License:MIT License


Languages

Language:Python 95.6%Language:C++ 2.6%Language:CMake 1.7%