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 gr1mpatr0n opened this issue 10 months 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.

gr1mpatr0n avatar Apr 05 '25 02:04 gr1mpatr0n