mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-25 10:22:33 -05:00
Remove --target from windres example command
@ -288,7 +288,7 @@ Icon support on executables is only supported in [PE executables](https://en.wik
|
||||
|
||||
To embed the icon as a resource on code compilation, a [`resource.rc` file](https://github.com/raysan5/raylib/blob/master/src/raylib.rc) should be created and compiled into an object file to be embedded as a regular code file. To compile that resource file, MinGW provides a tool called `windres.exe`:
|
||||
```
|
||||
windres resource.rc -o resource.rc.data --target=pe-x86-64
|
||||
windres resource.rc -o resource.rc.data
|
||||
```
|
||||
With Visual Studio, adding the `resource.rc` file to the project should be enough.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user