Skip to content

uilianries/conan-flex

Repository files navigation

Build Status License Download badge CircleCI

conan-flex

Conan flex

This is flex, the fast lexical analyzer generator.

flex is a tool for generating scanners: programs which recognize lexical patterns in text.

Conan.io package for flex project

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

Build packages

Download conan client from Conan.io and run:

$ python build.py

If your are in Windows you should run it from a VisualStudio console in order to get "mc.exe" in path.

Upload packages to server

$ conan upload flex/2.6.4@uilianries/stable --all

Reuse the packages

Basic setup

$ conan install flex/2.6.4@uilianries/stable

Project setup

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

[requires]
flex/2.6.4@uilianries/stable

[options]
flex:shared=True # False

[generators]
txt
cmake

Complete the installation of requirements for your project running:

conan install .

Project setup installs the library (and all his dependencies) and generates the files conanbuildinfo.txt and conanbuildinfo.cmake with all the paths and variables that you need to link with your dependencies.

Constraints

flex is NOT supported on Windows. If you are looking for it, see here.

License

BSD

Releases

No releases published

Packages

No packages published