Skip to content

Switching to CMake #244

@unixod

Description

@unixod

What do you think about switching re2c to using CMake build system?

Although the codebase of re2c is cross-platform, the currently used build system breaks portability of the project by imposing hard dependency on GNU toolchain. Switching to CMake may free the project from this dependency and make it possible to build re2c using native compilers on supported OSes. In other words, with CMake the build system in it self will become cross-platform and more clear.

A few days ago, I partially ported re2c to CMake. I call it partially because I didn't enable unit tests and I used sources from bootstrap directory. The only obstacle I encountered during the poring was the necessity to get rid of c99 stdint.h file, because this file relies on config.h. I simply removed all content in c99 stdint.h and left only #include <stdint.h> which seems admissible solution.

So, if you want I may try to contribute to this direction.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions