mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Help compiling icons into an exe, for use with MSI advertisement.
This commit is contained in:
parent
cc0def1868
commit
08d786a608
2 changed files with 13 additions and 0 deletions
9
PC/icons.mak
Normal file
9
PC/icons.mak
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
python_icon.exe: py.res empty.obj
|
||||
link /out:python_icon.exe /machine:x86 /subsystem:windows py.res empty.obj
|
||||
|
||||
py.res: py.ico pyc.ico pycon.ico icons.rc
|
||||
rc /fo py.res icons.rc
|
||||
|
||||
empty.obj: empty.c
|
||||
cl /c empty.c
|
||||
|
||||
4
PC/icons.rc
Normal file
4
PC/icons.rc
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
101 ICON "py.ico"
|
||||
102 ICON "pyc.ico"
|
||||
103 ICON "pycon.ico"
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue