Preprocessor mimics with cmake scripts.
  • CMake 52.8%
  • C 47.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-09-29 21:07:06 +09:00
cmake moved preprocessor's build logic from configuration to build 2026-09-29 17:57:26 +09:00
config Smash ignoring, self repeat checking has now added. 2025-07-22 02:35:36 +09:00
FileRaw FIX: _CRT_SECURE_NO_WARNINGS 2026-05-08 01:08:49 +09:00
Inc FIX: _CRT_SECURE_NO_WARNINGS 2026-05-08 01:08:49 +09:00
Macro moved preprocessor's build logic from configuration to build 2026-09-29 17:57:26 +09:00
.gitignore UPDATE 2026-02-05 02:05:58 +09:00
CMakeLists.txt a 2026-09-29 21:07:06 +09:00
LICENSE UPDATE: deleted workflow and modified license 2026-03-11 02:27:20 +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.