Closed bachp closed 8 years ago
isn't it too soon to do this?
What versions of CMake are required to be supported?
As far as I know this would only be required for CMake 2.6.x. There are already better ways of defining toolchains even of the CMakeForceCompiler modules was deprecated onyl ]recently](https://github.com/Kitware/CMake/commit/ed77504d89f99c1a395b5472f51d181ad25b90c0).
so you haven't needed CmakeForceCompiler since 2.6? news to me, but I guess I'm no CMake expert.
I could be wrong but I think at least for the GNU compilers this should work with the CMake versions that are most common out there.
Up until now I tested this with frdm-k64f-gcc
and CMake 2.8.12.2 and that workes without issue.
Well maybe it's really to early. I ran into some issues with atmel-samr21g18a-gcc
. I'm not sure it's because the target is not ready yet or because of my change.
I will close the pull request for the moment.
It is deprecated, CMake is now able to detect the GCC/GNU toolchain on it's own.