mkleemann / cmake-avr

cmake toolchain for AVR
Other
174 stars 61 forks source link

macports avr-gcc support: avr-size args and correct CMAKE_FIND_ROOT_PATH #3

Closed bevice closed 9 years ago

bevice commented 9 years ago

Added OSX support with AVR toolchaing installed from macports.org

Tested in osx 10.10 with tools versions specified in README.md

bevice commented 9 years ago

cmake now respects AVR_FIND_ROOT_PATH env variable for all systems, if it not specified cmake tries to find avr-libc for few paths (like /usr/avr, /usr/lib/avr, /opt/local/avr)

Fixed (i hope) issue with crashed during cmake generation The C compiler "avr-gcc" is not able to compile a simple test