gencpp/scripts
2024-12-11 00:13:36 -05:00
..
helpers Updates to docs and scripts 2024-12-10 16:38:01 -05:00
.clang-format fix clang format for enum_underlying 2024-12-11 00:13:36 -05:00
build.ci.ps1 c_library compiles 2024-12-10 23:35:47 -05:00
build.ps1 Simpilication of build script, added initial support for tests 2023-08-20 12:31:28 -04:00
clean.ps1 updates on package_release.ps1 and clean.ps1 2024-12-10 22:42:07 -05:00
genccp.natstepfilter Fixes to memory mangment, library is much faster now. 2023-07-16 18:00:07 -04:00
gencpp.natvis Updated docs 2024-04-17 18:29:30 -04:00
package_release.ps1 updates on package_release.ps1 and clean.ps1 2024-12-10 22:42:07 -05:00
Readme.md work on gettings things compiling again after restructuring 2024-12-10 20:45:00 -05:00
refactor_c_library.ps1 c_library refacotring works, and compiles with all content from the base project. 2024-12-10 13:56:56 -05:00
refactor_unreal.ps1 correctionns to gen_unreal_engine 2024-12-10 13:57:12 -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, unreal. Supports msvc or clang, release or debug.

args:
    c_library
    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