Skip to content

Conversation

@brendan-simon-indt
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant