
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4816 212acab6-be3b-0410-9dea-997c60f758d6
31 lines
458 B
Python
31 lines
458 B
Python
target = 'Math'
|
|
|
|
files = Split("""
|
|
Source/Math.c
|
|
Source/MyMath.c
|
|
Source/plugin.c
|
|
""")
|
|
|
|
libs = Split("""
|
|
kernel32
|
|
""")
|
|
|
|
examples = Split("""
|
|
math.nsi
|
|
mathtest.nsi
|
|
mathtest.ini
|
|
mathtest.txt
|
|
""")
|
|
|
|
docs = Split("""
|
|
Math.txt
|
|
""")
|
|
|
|
Import('BuildPlugin env')
|
|
|
|
if env['MSVS_VERSION'] >= 8.0:
|
|
files += ['Source/mathcrtmt.lib']
|
|
else:
|
|
files += ['Source/mathcrt.lib']
|
|
|
|
BuildPlugin(target, files, libs, examples, docs, nodeflib = False, flags = ['$CPP_FLAG'])
|