> when I place set(CMAKE_SYSTEM_NAME Generic) after cmake_minimum_required()
> and project() and set(VERSION_MAYOR/MINOR),
>
CMAKE_SYSTEM_NAME really shouldn't be in a CMakeLists.txt file at all. It
should instead be in a stand alone toolchain file defining your various
cross-compiling
Hi,
when I place set(CMAKE_SYSTEM_NAME Generic) after cmake_minimum_required()
and project() and set(VERSION_MAYOR/MINOR), incremental „make“s still work,
but once the build directory is cleared and „cmake ..“ is invoked, „make“
always leads to the error „avr-gcc: error: unrecognized command line