rules_foreign_cc icon indicating copy to clipboard operation
rules_foreign_cc copied to clipboard

Windows tool paths require `.exe` when passed to CMake

Open bjm9991 opened this issue 1 year ago • 0 comments

CMake does not accept paths to tools which look like c:/msys64/mingw64/bin/gcc, reporting "... is not a full path to an existing compiler tool."

It needs to have ".exe" appended to the tool names. Not sure how this hasn't been spotted yet but here we are :smile:. This is probably good practise for passing tools to any underlying build system on Windows.

bjm9991 avatar Apr 05 '25 02:04 bjm9991