How to generate .elf by using Cmake tool

254 Views Asked by At

I am using CMake tool for windows, I am able to generate.exe but I don't know how we can generate .elf.

enter image description here

enter image description here

I tried to set the toolchain in main CMakeLists.txt and output file to .elf extension in subdirectory CMakelists.txt. check the image for more information.

0

There are 0 best solutions below