miketsukerman / conan-bnfc

Conan recipe for BNFC compiler tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

conan package for BNFC compiler tool

Build Status License Download

Conan.io package for BNFC project.

The packages generated with this conanfile can be found in Bintray.

For Users: Use this package

Basic setup

conan install bnfc/2.8.3@fpp/testing

Project setup

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

[requires]
bnfc/2.8.3@fpp/testing

[generators]
cmake

Complete the installation of requirements for your project running:

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

Note: It is recommended that you run conan install from a build directory and not the root of the project directory. This is because conan generates conanbuildinfo files specific to a single build configuration which by default comes from an autodetected default profile located in ~/.conan/profiles/default . If you pass different build configuration options to conan install, it will generate different conanbuildinfo files. Thus, they should not be added to the root of the project, nor committed to git.

For Packagers: Publish this Package

The example below shows the commands used to publish to bincrafters conan repository. To publish to your own conan respository (for example, after forking this git repository), you will need to change the commands below accordingly.

Issues

All issues, such as feature request, bug, support or discussion are centralized on Community repository. If you are interested to open a new issue, please visit https://github.com/bincrafters/community/issues.

Build and package

The following command both runs all the steps of the conan file, and publishes the package to the local system cache. This includes downloading dependencies from "build_requires" and "requires" , and then running the build() method.

sudo apt-get -y install cabal-install
cabal update
cabal install doctest alex happy

conan create fpp/stable

Add Remote

conan remote add miketsukerman-bintray "https://api.bintray.com/conan/miketsukerman/fpp"

Upload

conan upload bnfc/2.8.3@fpp/testing --all -r miketsukerman-bintray

License

conan bnfc is provided under a Apache2 license that can be found in the License.md file. By using, distributing, or contributing to this project, you agree to the terms and conditions of this license.

About

Conan recipe for BNFC compiler tool

License:Apache License 2.0


Languages

Language:CMake 69.7%Language:Python 28.8%Language:Makefile 1.5%