Preprocessor mimics with cmake scripts.
- CMake 51.4%
- C 48.6%
| cmake | ||
| config | ||
| FileRaw | ||
| Inc | ||
| inc/ae2f | ||
| Macro | ||
| .gitignore | ||
| CMakeLists.txt | ||
| LICENSE | ||
| Macro.h.in | ||
| README.md | ||
ae2f::Preproc
This project has been migrated to codeberg.org.
You will still be able to access to upstream with github page.
The cmake utilities for enabling template meta programming in C with macro-function generating and including.
Basically it uses stdin and stdout for processing, and you will need to pipeline those outputs.
> Which means you will making new files.
It is written in standard ANSI C, which is the lowest version covered by cmake.
The sources now covers from ANSI C to C23.
ae2f_PreProc_C_COMPILER
When you define this value on cmake, 't will be expected to valid C compiler for configuration step.
Requirements
- A C compiler >= 90 (aka ANSI C)
- cmake >= 3.20
- A functional OS which supports standard library of C and pipelining.
- Unix based systems are recommended.
- Windows is tested.
Known Issues
Currently it does not understand single-line comments at all.
It could ruin the user experience.
It cannot be installable due to my lack of understanding of cmake.