Skip to content

joakimono/conan-libboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Download Build Status UNIX Build Status WIND

Conan.io recipe for libboard.

The recipe generates library packages, which can be found at Bintray. The package is usually consumed using the conan install command or a conanfile.txt.

How to use this package

  1. Add remote to conan's package registry.txt:

    $ conan remote add joakimono https://api.bintray.com/conan/joakimono/conan
  2. Using conanfile.txt in your project with cmake

    Add a conanfile.txt to your project. This file describes dependencies and your configuration of choice, e.g.:

    [requires]
    libboard/[>=0.9.4]@joakimono/stable
    
    [options]
    
    
    [imports]
    licenses, * -> ./licenses @ folder=True
    
    [generators]
    cmake
    

    Insert into your CMakeLists.txt something like the following lines:

    cmake_minimum_required(VERSION 3.1.2)
    project(TheProject CXX)
    
    include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
    conan_basic_setup(TARGETS)
    
    add_executable(the_executor code.cpp)
    target_link_libraries(the_executor CONAN_PKG::libboard)

    Then, do

    $ mkdir build && cd build
    $ conan install ..

    You can now continue with the usual dance with cmake commands for configuration and compilation. For details on how to use conan, please consult Conan.io docs

Package options

None

Known recipe issues

None

About

libboard library package for conan.io

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published