2024-12-10 16:31:50 -08:00
## Navigation
# base
[Top ](../Readme.md )
* [docs ](../docs/Readme.md )
# Segemented Library Generation
2024-12-10 13:13:14 -08:00
2024-12-16 07:36:55 -08:00
Create a segemented library using `segemented.cpp`
2024-12-10 13:13:14 -08:00
The principal (user) files are `gen.hpp` and `gen.cpp` .
They contain includes for its various components: `components/<component_name>.<hpp/cpp>`
Dependencies are bundled into `gen.dep.<hpp/cpp>` . They are included in `gen.<hpp/cpp>` before component includes.
2024-12-16 07:36:55 -08:00
Just like the `gen.<hpp/cpp>` they include their components: `dependencies/<dependency_name>.<hpp/cpp>` . The auxillary content (builder & scanner) is given their own files.
2024-12-10 13:13:14 -08:00
2024-12-10 16:31:50 -08:00
If using the library's provided build scripts:
2024-12-10 13:13:14 -08:00
2024-12-10 16:31:50 -08:00
```ps1
.\build.ps1 < compiler > < debug or omit > segmented
```