Preprocessor mimics with cmake scripts.
  • CMake 52%
  • C 48%
Find a file
dalmurii 983b8482d2 update: better type hint whilst making a macro
Changes to be committed:
	- modified:   Macro/CMakeLists.txt
	- modified:   Macro/main.c
	- modified:   Macro/main.h.in
	- modified:   cmake/Macro.cmake
2026-06-25 17:14:11 +09:00
cmake update: better type hint whilst making a macro 2026-06-25 17:14:11 +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 update: better type hint whilst making a macro 2026-06-25 17:14:11 +09:00
.gitignore UPDATE 2026-02-05 02:05:58 +09:00
CMakeLists.txt update 2026-06-18 15:13: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.