Preprocessor mimics with cmake scripts.
  • CMake 51.4%
  • C 48.6%
Find a file
2026-03-11 16:27:43 +09:00
cmake FIX 2026-03-01 16:08:12 +09:00
config Smash ignoring, self repeat checking has now added. 2025-07-22 02:35:36 +09:00
FileRaw FIX: remote target toolchain 2026-02-10 15:53:29 +09:00
Inc FIX: remote target toolchain 2026-02-10 15:53:29 +09:00
inc/ae2f Changes to be committed: 2025-11-12 22:00:34 +09:00
Macro UPDATE: Now function expression () is optional to make macro. 2026-03-02 23:34:32 +09:00
.gitignore UPDATE 2026-02-05 02:05:58 +09:00
CMakeLists.txt UPDATE: subcalled process will share generator setup as host when 2026-03-11 16:26:23 +09:00
LICENSE UPDATE: deleted workflow and modified license 2026-03-11 02:27:20 +09:00
Macro.h.in UPDATE 2026-02-05 02:24:14 +09:00
README.md Changes to be committed: 2026-02-05 02:18:05 +09:00

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.