Genivia / RE-flex

A high-performance C++ regex library and lexical analyzer generator with Unicode support. Extends Flex++ with Unicode support, indent/dedent anchors, lazy quantifiers, functions for lex and syntax error reporting and more. Seamlessly integrates with Bison and other parsers.
https://www.genivia.com/doc/reflex/html
BSD 3-Clause "New" or "Revised" License
507 stars 85 forks source link

Cmake support #118

Closed Ezbob closed 2 years ago

Ezbob commented 2 years ago

I propose CMake support for building and using RE-flex in a cross-platform manner.

This solution adds find_package support for use in other CMake driven projects, as well as some rudimentary documentation showing how to configure and build the RE-flex binary and libraries using the CMake command line interface.

The solution has been tested on: Windows using the Visual C++ compiler and it's accompanying tools. Debian Linux 11 using GCC and GnuMakefile.

genivia-inc commented 2 years ago

Thanks for helping with this project. I will take a closer look.