Emanem / linux-hunter

Prototype MH:W companion app for Linux, inspired by SmartHunter
GNU General Public License v3.0
26 stars 9 forks source link

Initial implementation of meson build system. #14

Open igo95862 opened 3 years ago

igo95862 commented 3 years ago

Commands to compile:

This is not final. I need to update README with new instructions.

Emanem commented 3 years ago

With this we would have both the legacy makefile and more strategic meson setup? Apologies for silly question but I've only used cmake a couple of times before...not really familiar with meson.

igo95862 commented 3 years ago

I was thinking about removing make file after finishing the README instructions.

It is also possible for make file to be a backward compatible stub that calls meson and ninja how systemd has it: https://github.com/systemd/systemd/blob/main/Makefile

I've only used cmake a couple of times before...not really familiar with meson.

It is quite simple. The biggest difference from classical autotools and make files is that building happens in a build directory. Meson website has a good tutorial: https://mesonbuild.com/Quick-guide.html#compiling-a-meson-project

igo95862 commented 3 years ago

@Emanem I added meson instructions in to README.

I also created a Github Actions workflow to verify that code compiles.