https://github.com/psiace/meco
Just Another C/C++ project template built with Meson.
https://github.com/psiace/meco
c cpp meson template-project
Last synced: about 2 months ago
JSON representation
Just Another C/C++ project template built with Meson.
- Host: GitHub
- URL: https://github.com/psiace/meco
- Owner: PsiACE
- License: mit
- Created: 2019-12-27T17:46:48.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-15T20:41:24.000Z (over 6 years ago)
- Last Synced: 2025-02-01T22:13:26.792Z (over 1 year ago)
- Topics: c, cpp, meson, template-project
- Language: Meson
- Homepage:
- Size: 8.79 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Meco
> Some things are useless, but try them anyway.
Meco, a C project template with Meson.
It was created because I once blamed my poor C programming skills on the lack of a project template. :)
_**Note:**_ There is still a lot of work to do, but it is currently available.
## Features
- Basic project skeleton.
- CI with github workflow.
- Simple script for easy development.
## TODO
- [ ] Documentation support.
- [ ] Try unit tests.
## Usage
If you want to try it, consider installing the `meson` build system, and `ninja` must also be installed with it.
For example, on the fedora platform, run `dnf install meson`.
### Basic
```bash
git clone git@github.com:PsiACE/meco.git your-awesome-project
# or `git clone https://github.com/psiace/meco.git your-awesome-project`
cd your-awesome-project
```
Replace `meco` in all text with `your-awesome-project`. And then:
```bash
meson builddir
ninja -C builddir # -j8
meson install # for test, just run `./builddir/src/your-awesome-project`
```
Now it should be added to your system. You can run `your-awesome-project` in the terminal.
### Other
In addition, the three subcommands `release`, `format` and `run` are provided for easy use.
Just run `ninja -C builddir `.
Please modify scripts or files to carry out your custom activities.
_**Note:**_ Since the `format` script relies on `clang-format`, consider installing it.
## Contact
Chojan Shang - [@PsiACE](https://github.com/psiace) -
Project Link: [https://github.com/psiace/meco](https://github.com/psiace/meco)
## License
- MIT license ([LICENSE](./LICENSE) or [http://opensource.org/licenses/MIT](http://opensource.org/licenses/MIT))