diff options
author | masoud bh <masoud.bh@chmail.ir> | 2015-11-09 02:23:58 +0330 |
---|---|---|
committer | masoud bh <masoud.bh@chmail.ir> | 2015-11-09 02:23:58 +0330 |
commit | 24f3f43457ac6bdeed95c1ed0a882387a509078a (patch) | |
tree | b8249a4f8c1674538b80b0a5d22d4b6810f7cf1e /platform/windows/SCsub | |
parent | 3fcfdfec0ac5175f55527b3ec95d14d48bf29dd2 (diff) |
Add icon to exe file in windows export
add version_info and icon sections in "export to windows platform".
add version_info and icon to godot exe file (editor & template exe).
fix an problem in image class.
change all default icons to android export icon (a little more rounded).
create an python script for convert file to cpp byte array for use in
'splash.h'.
Diffstat (limited to 'platform/windows/SCsub')
-rw-r--r-- | platform/windows/SCsub | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/platform/windows/SCsub b/platform/windows/SCsub index 1ad32e7989..1fa793e2de 100644 --- a/platform/windows/SCsub +++ b/platform/windows/SCsub @@ -11,9 +11,15 @@ common_win=[ "stream_peer_winsock.cpp", ] +env.RES('godot_res.rc') +if env["is_mingw"]: + common_win.append("godot_res.o") +else: + common_win.append("godot_res.res") + env.Program('#bin/godot',['godot_win.cpp']+common_win,PROGSUFFIX=env["PROGSUFFIX"]) -# Microsoft Visual Studio Project Generation +# Microsoft Visual Studio Project Generation if (env['vsproj'])=="yes": env.vs_srcs = env.vs_srcs + ["platform/windows/godot_win.cpp"] for x in common_win: |