Build++ is a project builder that can simplify building projects in multitude of compilers and environments.
Install from this repository using Cargo (Install Rust first):
cargo install --git https://github.com/kirillsemyonkin/buildpp
Check out wiki Installation page for the full guide.
Check out wiki to learn how to install Build++ and build and run projects using it.
Also check out MSMPI example project configuration file, that should show how to setup a local compiled library dependency.