iarsystems / cmake-tutorial

Build and test embedded software using the IAR C/C++ Compiler alongside CMake
https://iar.com
MIT License
76 stars 14 forks source link

iar-toolchain: Add windows toolchain support in linux using wine #24

Closed panicking closed 1 year ago

panicking commented 1 year ago

We can install iar toolchain for windows using wine. Only the toolchain will be fully working and not the IDE. This avoid to have windows installation

felipe-iar commented 1 year ago

While we appreciate your pull request, we are unable to merge these changes to the upstream as WINE is not amongst the officially supported platforms for the IAR Embedded Workbench. We actually have a product specifically built with native Linux platform support, the IAR Build Tools.

Of course, one of the objectives of providing the iar-toolchain.cmake file here in this tutorial was exactly for leaving it open for particular customizations. One alternative (simpler) idea would be for you to customize the TOOLKIT variable so that the full path to the executable could be specified there.

panicking commented 1 year ago

@felipe-iar I understand but there are companies that buy license only for windows and developer that are willing to wok on linux. I know the TOOLKIT option but I was thinking that this was a nice to have