Change name final binary output file via CMakeLists

stoumk
Posts: 12
Joined: Tue May 24, 2022 10:54 am

Change name final binary output file via CMakeLists

Postby stoumk » Mon Mar 18, 2024 5:20 pm

project(myProject) creates the project itself, and specifies the project name. The project name is used for the final binary output files of the app - ie myProject.elf, myProject.bin.
How can I change the final binary output file to myNameFile.bin via CMakeLists?

stoumk
Posts: 12
Joined: Tue May 24, 2022 10:54 am

Re: Change name final binary output file via CMakeLists

Postby stoumk » Tue Mar 19, 2024 9:39 am

Alternatively, after compilation, you can copy the bin file with your own name.
viewtopic.php?f=13&t=11528&start=10#p47552

Who is online

Users browsing this forum: Google [Bot], VinayDand and 121 guests