Skip to content

Simple C Project demo with Meson. Unit testing is also used.

Notifications You must be signed in to change notification settings

alann-sapone/meson-bootstrap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Goals

This simple project has a single goal : How to fasten C projects development in a lightweight environment.

You will need glib-2.0 dev dependency for this demo to work.

It aims in a simple app with a module, also having unit testing.

How to

meson build cd build

Running tests

ninja test

Running app

./src/cdemo

Visual Studio Code integration

You can actually have a great Meson / C integration in Visual Studio Code by adding a few plugins :

  • C/C++ from Microsoft
  • Meson from Ali Sabil for some Sugar

Then open the Commands Palette and choose "Edit Configurations..."

This will create a "c_cpp_properties.json" file. In the configuration object, add :

compileCommands": "build/compile_commands.json

About

Simple C Project demo with Meson. Unit testing is also used.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published