Source

nsis64 / Contrib / InstallOptions / SConscript

Full commit
target = 'InstallOptions'

files = Split("""
	InstallerOptions.cpp
""")

resources = Split("""
	ioptdll.rc
""")

libs = Split("""
	kernel32
	user32
	gdi32
	shell32
	comdlg32
	ole32
""")

examples = Split("""
	test.nsi
	test.ini
	testimgs.nsi
	testimgs.ini
	testlink.nsi
	testlink.ini
	testnotify.nsi
	testnotify.ini
""")

docs = Split("""
	Changelog.txt
	Readme.html
""")

includes = Split("""
	InstallOptions.nsh
""")

Import('BuildPlugin env')

unicodetarget = 'UNICODE' in env['CPPDEFINES']

BuildPlugin(target, files, libs, examples, docs, res = resources)
if not unicodetarget:
	env.DistributeInclude(includes)