mockcpp icon indicating copy to clipboard operation
mockcpp copied to clipboard

improve portability of Makefiles

Open brendan-simon-indt opened this issue 1 year ago • 0 comments

Improve portability of Makefiles by finding the cmake tool in the user's path, rather than hardcoding it. On MSYS2 environment, cmake is located at:

  • /ucrt64/bin/cmake (for UCRT64 environment)
  • /usr/bin/cmake (for MSYS2 environment)

Improve portability by not hard coding top-level directory path. Instead determine top-level path from the current Makefile.

For test-ng-pp I took the liberty of assuming test-ng was installed alongside mockcpp, made the directory relative to it.

brendan-simon-indt avatar Sep 22 '24 23:09 brendan-simon-indt