gencpp/gen_c_library
2024-12-14 07:14:30 -05:00
..
components Updated c_library generation to support latest changes with context struct (also prepped for static/dynamic linkage) 2024-12-13 22:09:43 -05:00
.editorconfig C-library gen progress: Header files mostly done, starting dep c impl and fixes to generic selection generation 2024-12-08 16:37:04 -05:00
c_library.cpp Got .lib and .dlls setup for the C11 library 2024-12-14 00:10:07 -05:00
c_library.refactor Add CSV_Column structs to c_library.refactor 2024-12-14 07:14:30 -05:00
gen_c_lib.c Got .lib and .dlls setup for the C11 library 2024-12-14 00:10:07 -05:00
Readme.md attempted to fix formatting for _Generic macros in the c11 generation (failed) 2024-12-13 16:34:47 -05:00

Navigation

base

Top

C Library Generation

c_library.cpp generates both segemnted and singleheader variants of the library compliant with C11.

The output will be in the gen_segmented/gen directory (if the directory does not exist, it will create it).

If using the library's provided build scripts:

.\build.ps1 <compiler> <debug or omit> c_library

All free from tag identifiers will be prefixed with gen_ or GEN_ as the namespace. This can either be changed after generation with a .refactor script (or your preferred subst method), OR by modifying c_library.refactor.

If c_library.refactor is modified you may need to modify c_library.cpp and its components. As some of the container generation relies on that prefix.