0

I am trying to use Visual Studio (my boss uses it) for the uC programmming.

Generally speaking everything is relatively fine, but VS always adds .exe to the program name (it should be .elf).

add_executable("GC${BOARD_NAME}-FW.elf" ${SOURCES} ${INCLUDE_FILES} ${ASM_FILES})

but in VS I always have (sorry for the picture - but it is an IDE)

enter image description here

How can I force the VS to use the correct filename?

0___________
  • 60,014
  • 4
  • 34
  • 74
  • 1
    Does this answer your question? [How to change the name of the output binary to not be a.out with CMake?](https://stackoverflow.com/questions/30904273/how-to-change-the-name-of-the-output-binary-to-not-be-a-out-with-cmake) You should be able to modify the `SUFFIX` property to get the file extension you desire. – Kevin Aug 04 '20 at 14:12
  • 1
    @squareskittles yes it did the job!!! Post as the answer I will accept it instantly. – 0___________ Aug 04 '20 at 14:38
  • And, of course, no feedback on whether my suggestion worked or not. – Robert Harvey Aug 05 '20 at 17:15
  • Thanks for the update. – Robert Harvey Aug 05 '20 at 17:28

0 Answers0