Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mpusz/conan-irrlicht

Conan recipe for Irrlicht library
https://github.com/mpusz/conan-irrlicht

Last synced: 26 days ago
JSON representation

Conan recipe for Irrlicht library

Awesome Lists containing this project

README

        

[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg?maxAge=3600)](https://raw.githubusercontent.com/mpusz/conan-irrlicht/master/LICENSE)
[![Conan CI](https://img.shields.io/github/actions/workflow/status/mpusz/units/ci-conan.yml?branch=master)](https://github.com/mpusz/units/actions?query=workflow%3A%22Conan%20CI%22+branch%3Amaster)
[![Conan testing](https://img.shields.io/badge/mpusz.jfrog.io-1.0.0%3Atesting-blue)](https://mpusz.jfrog.io/ui/packages/conan:%2F%2Firrlicht/1.0.0)

# conan-irrlicht

[conan-mpusz](https://bintray.com/mpusz/conan-mpusz) package for [Irrlicht](http://irrlicht.sourceforge.net/) library.

The package generated with this **conanfile** can be found at [conan-mpusz](https://bintray.com/mpusz/conan-mpusz/irrlicht%3Ampusz).

`conan` client can be downloaded from [Conan.io](https://conan.io).

## Use the package

### Add the remote

To add [conan-mpusz](https://bintray.com/mpusz/conan-mpusz) remote to your
local `conan` instance run:

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

### Basic setup

```bash
$ conan install irrlicht/1.8.4@mpusz/stable -pr -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:

```python
requires = "irrlicht/1.8.4@mpusz/stable"
```

Complete the installation of dependencies for your project by running:

```bash
$ mkdir build
$ cd build
$ conan install .. -b=outdated
< 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

```bash
$ conan create . /
```

## Upload package to server

```bash
$ conan upload -r --all irrlicht/1.8.4@/
```