Skip to content
/ meco Public template

Just Another C/C++ project template built with Meson.

License

Notifications You must be signed in to change notification settings

PsiACE/meco

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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:

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 <subcommand>.

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 - psiace@outlook.com

Project Link: https://github.com/psiace/meco

License

About

Just Another C/C++ project template built with Meson.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages