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.
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.
$ conan upload flex/2.6.4@uilianries/stable --all
$ conan install flex/2.6.4@uilianries/stable
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.
flex is NOT supported on Windows. If you are looking for it, see here.