Add Meson/Ninja build system and update README #1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation
config.h, and exposes formatting/check-format targets.Description
meson.buildthat declares thenwipeproject, probes dependencies (ncurses,panel,libconfig,libparted,threads), detects ncurses/panel header locations, generatesconfig.hviaconfigure_file, and sets-DHAVE_CONFIG_Hfor the build.nwipeexecutable target with installation and addedinstall_man('man/nwipe.8').formatandcheck-formatrun targets, withcheck-formatrunningclang-formatandgit diff --exit-codeto detect formatting changes.autogen.sh,configure.ac,Makefile.am,src/Makefile.am,man/Makefile.am) and updatedREADME.mdto document Meson/Ninja prerequisites and build/install/formatting instructions (including the automated build script example).Testing
meson setup buildin the environment but it failed becausemesonis not installed, so the build could not be completed.mesonviapython3 -m pip install --user meson ninjabut the installation failed due to network/proxy restrictions, so no further automated tests were executed.Codex Task