Thanks for this, I tried to follow other tutorials, but those were focused on a lot of other things than compiling and linking so this was a very good start to finally get something built.
I use globbing, but that comes down to personal preference (it has its pros and cons).
Not quite sure why that happens, but I got an extension of .elf so I used:
set_target_properties(${EXECUTABLE} PROPERTIES
SUFFIX ".out"
)
To actually get an .out file.
Now I just have to adjust some things, but it's looking much better.
Globbing has its advantages, no doubts! My experience proved that you end up excluding some files from the result list and you get back to list your files by hand ^^
Nevertheless, they are good for instance to get a set of generated files when these numbers of files and their names is not known in advance.
I believe *.elf is the default extension for GCC generated software. Nice trick ;)
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thanks for this, I tried to follow other tutorials, but those were focused on a lot of other things than compiling and linking so this was a very good start to finally get something built.
I use globbing, but that comes down to personal preference (it has its pros and cons).
Not quite sure why that happens, but I got an extension of .elf so I used:
set_target_properties(${EXECUTABLE} PROPERTIES
SUFFIX ".out"
)
To actually get an .out file.
Now I just have to adjust some things, but it's looking much better.
You're welcome :)
Globbing has its advantages, no doubts! My experience proved that you end up excluding some files from the result list and you get back to list your files by hand ^^
Nevertheless, they are good for instance to get a set of generated files when these numbers of files and their names is not known in advance.
I believe *.elf is the default extension for GCC generated software. Nice trick ;)