gencpp/scripts
2024-12-16 18:28:26 -05:00
..
helpers Got .lib and .dlls setup for the C11 library 2024-12-14 00:10:07 -05:00
.clang-format 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
build.ci.ps1 Testing c-library with Cuik parsing... 2024-12-16 18:28:26 -05:00
build.ps1 Simpilication of build script, added initial support for tests 2023-08-20 12:31:28 -04:00
clean.ps1 corrections to c_library.cpp, package_release.ps1 working for all zips 2024-12-11 02:04:22 -05:00
genccp.natstepfilter Corrected enum serialization of ecodetypes, eoperator, especifier, and etoktype, some more naming refactors for strbuilder... formatting 2024-12-13 14:38:27 -05:00
gencpp.natvis working to towards https://github.com/Ed94/gencpp/issues/56 2024-12-12 12:55:15 -05:00
package_release.ps1 Got .lib and .dlls setup for the C11 library 2024-12-14 00:10:07 -05:00
Readme.md Updates to gen_c_library docs 2024-12-16 00:47:46 -05:00
refactor_unreal.ps1 corrections to c_library.cpp, package_release.ps1 working for all zips 2024-12-11 02:04:22 -05:00
refactor.ps1 Added refactor.ps1 script, fixed the gencpp.refactor script (missing commas) 2023-07-24 23:47:04 -04:00

Scripts

Generation, testing, and cleanup scripts for the test directory are found here along with natvis and natstepfilter files for debugging.

Refactoring

refactor.ps1 Provides a way to run the refactor program. It uses the a .refactor script (such as gencpp.refactor) to complete a mass refactor of all content within the files of the specified within the script.

Currently refactor only supports naive sort of find and replace feature set and will not be able to rename identifiers excluisvely to a specific context (such as only renaming member names of a specific struct, etc).
Its main uage is the c_library generation.

Build & Run Scripts

clean.ps1
Remove any generated content from the repository.

build.ps1
Build c library (segmented, singleheader, static, or dynamic), cpp library (segmented, singleheader, or unreal). Supports msvc or clang, release or debug.

args:
    c_lib        : Build c11 library (singleheader & segmented)
    c_lib_static : Build static  c11 library
    c_lib_dyn    : Buidl dyanmic c11
    segemented
    singleheader
    unreal
    clang
    msvc    : By default this project builds with clang, specifying msvc will build with MSVC.
    debug
    release : By default this project builds in debug mode, specifying release will build with optimizations.

package_release.ps1
Will build the build all, then package the release into a zip file.

Note: My env is Windows 11 with MSVC 2022 and clang 16.0.6