Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 743 Bytes

README.md

File metadata and controls

28 lines (19 loc) · 743 Bytes

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