The C compiler identification could not be found in "C:/Projects/cmake/iartest/CMakeFiles/CompilerIdC/CMakeCCompilerId.r90" Compiling the C compiler identification source file "CMakeCCompilerId.c" failed. Compiler: C:/Program Files/IAR Systems/Embedded Workbench 5.3/avr/bin/iccavr.exe Build flags: Id flags: -c The output was: 2 Command line error: IAR C/C++ Compiler V5.30.6.50191/W32 for Atmel AVR Unexpected command line Copyright 1996-2009 IAR Systems AB. arguments: -c Compiling the C compiler identification source file "CMakeCCompilerId.c" failed. Compiler: C:/Program Files/IAR Systems/Embedded Workbench 5.3/avr/bin/iccavr.exe Build flags: Id flags: -Aa The output was: 2 IAR C/C++ Compiler V5.30.6.50191/W32 for Atmel AVR Copyright 1996-2009 IAR Systems AB. Command line error: Unexpected command line arguments: -Aa Determining if the C compiler works failed with the following output: Change Dir: C:/Projects/cmake/iartest/CMakeFiles/CMakeTmp Run Build Command:C:/msys/1.0/bin/make.exe "cmTryCompileExec/fast" /bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build make[1]: Entering directory `/c/Projects/cmake/iartest/CMakeFiles/CMakeTmp' /C/CMake/bin/cmake.exe -E cmake_progress_report /C/Projects/cmake/iartest/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.obj "/C/Program Files/IAR Systems/Embedded Workbench 5.3/avr/bin/iccavr.exe" -o CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.obj -c /C/Projects/cmake/iartest/CMakeFiles/CMakeTmp/testCCompiler.c IAR C/C++ Compiler V5.30.6.50191/W32 for Atmel AVR Copyright 1996-2009 IAR Systems AB. Command line error: Unexpected command line arguments: -c make[1]: *** [CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.obj] Error 2 make[1]: Leaving directory `/c/Projects/cmake/iartest/CMakeFiles/CMakeTmp' make: *** [cmTryCompileExec/fast] Error 2