Conan.io package for BNFC project.
The packages generated with this conanfile can be found in Bintray.
conan install bnfc/2.8.3@fpp/testing
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.
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.
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.
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
conan remote add miketsukerman-bintray "https://api.bintray.com/conan/miketsukerman/fpp"
conan upload bnfc/2.8.3@fpp/testing --all -r miketsukerman-bintray
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.