Skip to content

Make defaults sensible for windows, fix program finding.#5

Open
MHebes wants to merge 2 commits intotttapa:masterfrom
MHebes:windows-ootb
Open

Make defaults sensible for windows, fix program finding.#5
MHebes wants to merge 2 commits intotttapa:masterfrom
MHebes:windows-ootb

Conversation

@MHebes
Copy link

@MHebes MHebes commented Jul 15, 2024

Thanks for the project! Just some things I came across when compiling on windows.

Uses find_program instead of set to find avr tools so that .exe suffix is added. Small behavior change: Does not FORCE the cache variable change. Could get around this with a find_program(NO_CACHE) followed by set(CACHE FORCE) if you'd like, it just looks a little clunkier.

Checks CMAKE_HOST_WIN32 to give a different default for ARDUINO_PATH.

Mentions issue about Visual Studio generators not respecting CMAKE_CXX_COMPILER.

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