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.
meson build cd build
ninja test
./src/cdemo
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