https://github.com/softmotions/iwstart
Boilerplate generator for C projects based on iowow, iwnet, ejdb2 libraries
https://github.com/softmotions/iwstart
boilerplate c cmake ejdb ejdb2 iowow iwnet nvim project-generator vim
Last synced: about 1 month ago
JSON representation
Boilerplate generator for C projects based on iowow, iwnet, ejdb2 libraries
- Host: GitHub
- URL: https://github.com/softmotions/iwstart
- Owner: Softmotions
- License: mit
- Created: 2022-08-12T15:47:19.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-03-02T12:34:54.000Z (7 months ago)
- Last Synced: 2025-04-26T11:38:13.763Z (6 months ago)
- Topics: boilerplate, c, cmake, ejdb, ejdb2, iowow, iwnet, nvim, project-generator, vim
- Language: CMake
- Homepage:
- Size: 176 KB
- Stars: 4
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: Changelog
- License: LICENSE
Awesome Lists containing this project
README
# iwstart
Boilerplate initial project generator for C projects based on iowow, iwnet, ejdb2 libraries.
## Usage```sh
iwstart -hIOWOW/IWNET/EJDB2 Project boilerplate generator
Usage iwstart [options]
Note: Options marked as * are required.
* -a, --artifact=<> Project main artifact name (required).
* -n, --name=<> Short project name.
-b, --base=<> Project base lib. One of: iowow,iwnet,ejdb2,aws4. Default: iwnet
-d, --description=<> Project description text.
-l, --license=<> Project license name.
-u, --author=<> Project author.
-w, --website=<> Project website.
--no-uncrustify Disable uncrustify code form atter config
--no-lvimrc Disable .lvimrc vim file generation
-c, --conf=<> .ini configuration file.
-V, --verbose Print verbose output.
-v, --version Show program version.
-h, --help Print usage help.
````## Installation
```sh
git clone https://github.com/Softmotions/iwstartmkdir ./iwstart/build && cd ./iwstart/build
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=~/.local
make install
```## Example
```sh
iwstart -a myproj --name="My project" -b iowow ./myprojcd ./myproj/build
cmake .. -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTS=ON -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
make
ln -s ./build/compile_commands.json ../compile_commands.json
```