[CMake] Cmake force a specific gnu arm toolchain

2015-04-15 Thread Mathias Giacomuzzi
Hello,   Here is some more information to the question before. I use the https://launchpad.net/gcc-arm-embedded toolchain for cortex m4 development.   I am on windows7 machine and I have installed more than one version of a GNU ARM toolchain. c:\Program Files (x86)\GNU Tools ARM Embedded\ 4

[CMake] CMake Cross Compiling GCC

2015-04-15 Thread Mathias Giacomuzzi
Hello I am new to cmake,   I have two question´s concerning cross compiling with gnu compilers   1) First Question: Can anyone explain me, why a toolchain file is called twice when cross compiling? I use the current cmake version 3.2.2.   I use this toolchain file as an example...   # the