build UIs from source
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4124 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
0e2f12e173
commit
63276d8689
20 changed files with 362 additions and 234 deletions
|
@ -1,13 +1,25 @@
|
|||
code = 'ui.c'
|
||||
|
||||
uis = Split("""
|
||||
default.exe
|
||||
modern.exe
|
||||
modern_headerbmp.exe
|
||||
modern_headerbmpr.exe
|
||||
modern_nodesc.exe
|
||||
modern_smalldesc.exe
|
||||
sdbarker_tiny.exe
|
||||
default
|
||||
modern
|
||||
modern_headerbmp
|
||||
modern_headerbmpr
|
||||
modern_nodesc
|
||||
modern_smalldesc
|
||||
sdbarker_tiny
|
||||
""")
|
||||
|
||||
Import('defenv')
|
||||
libs = Split("""
|
||||
kernel32
|
||||
comctl32
|
||||
user32
|
||||
gdi32
|
||||
""")
|
||||
|
||||
defenv.DistributeContribs('UIs', uis)
|
||||
Import('BuildUtil env')
|
||||
|
||||
code = env.Object(code)
|
||||
|
||||
for ui in uis:
|
||||
BuildUtil(ui, code, libs, entry = 'WinMain', res = ui + '.rc', install = 'Contrib/UIs')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue