-
Notifications
You must be signed in to change notification settings - Fork 196
Description
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.