Git Product home page Git Product logo

conan-mscl's Introduction

Linux GCC Linux Clang Windows MSVC

Conan.io recipe for MSCL.

How to use this package

  1. Add remote to conan's package remotes

    $ conan remote add sintef https://artifactory.smd.sintef.no/artifactory/api/conan/conan-local
  2. Using conanfile.txt and cmake in your project.

    Add conanfile.txt:

    [requires]
    mscl/64.2.2@sintef/stable
    
    [tool_requires]
    cmake/[>=3.25.0]
    
    [options]
    
    [layout]
    cmake_layout
    
    [generators]
    CMakeDeps
    CMakeToolchain
    VirtualBuildEnv
    

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

    cmake_minimum_required(VERSION 3.15)
    project(TheProject CXX)
    
    find_package(mscl CONFIG REQUIRED)
    
    add_executable(the_executor code.cpp)
    target_link_libraries(the_executor mscl::mscl)

    Install and build e.g. a Release configuration:

    $ conan install . -s build_type=Release -pr:b=default
    $ source build/Release/generators/conanbuild.sh
    $ cmake --preset conan-release
    $ cmake --build build/Release
    $ source build/Release/generators/deactivate_conanbuild.sh

Package options

Option Allowed values Default value
shared [True, False] False
fPIC [True, False] True

Known recipe issues

None

conan-mscl's People

Contributors

jarlela avatar joakimono avatar karljohanreite avatar sskjong avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.