Source

nsis64 / Contrib / Makensisw / SConscript

Full commit
target = 'makensisw'

files = Split("""
	makensisw.cpp
	toolbar.cpp
	utils.cpp
	version.cpp
	update.cpp
	jnetlib/asyncdns.cpp
	jnetlib/connection.cpp
	jnetlib/httpget.cpp
	jnetlib/util.cpp
""")

res = Split("""
	resource.rc
""")

resources = Split("""
	shell.ico
	icon.ico
	makensisw.xml
	logo.bmp
	toolbar.bmp
	toolbar24.bmp
	toolbar24d.bmp
	toolbar24h.bmp
""")

libs = Split("""
	kernel32
	advapi32
	user32
	gdi32
	shell32
	shlwapi
	comdlg32
	comctl32
	wsock32
""")

docs = Split("""
	License.txt
	Readme.txt
""")

Import('BuildUtil')
Import('_tWinMain')

BuildUtil(
	target,
	files,
	libs,
	res = res,
	resources = resources,
	entry = _tWinMain,
	defines = ['RELEASE=2.3'],
	docs = docs,
	root_util = True
)