oneup40 / conan-sdl2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status

conan-sdl2

Conan.io package for SDL2 library

conan.io.

Binary packages for SDL2 are not generating because of the dependency of sdl2 to local GL/drivers. So just use --build option in conan install to compile the SDL2 (very quick).

Basic setup

$ conan install SDL2/2.0.4@lasote/stable --build

Project setup

If you handle multiple dependencies in your project is better to add a conanfile.txt

[requires]
SDL2/2.0.4@lasote/stable

[options]
SDL2:shared=true # false

[generators]
txt
cmake

Complete the installation of requirements for your project running:

conan install --build missing

About


Languages

Language:Python 71.4%Language:C 22.0%Language:Shell 4.2%Language:CMake 2.4%