2005-04-16 18:48:50 +00:00
|
|
|
target = 'Math'
|
|
|
|
|
2006-10-30 19:45:18 +00:00
|
|
|
files = Split("""
|
|
|
|
Source/Math.c
|
|
|
|
Source/MyMath.c
|
|
|
|
Source/plugin.c
|
|
|
|
""")
|
2005-04-16 18:48:50 +00:00
|
|
|
|
|
|
|
libs = Split("""
|
|
|
|
kernel32
|
|
|
|
""")
|
|
|
|
|
2005-04-30 18:04:55 +00:00
|
|
|
examples = Split("""
|
|
|
|
math.nsi
|
|
|
|
mathtest.nsi
|
|
|
|
mathtest.ini
|
|
|
|
mathtest.txt
|
|
|
|
""")
|
|
|
|
|
|
|
|
docs = Split("""
|
|
|
|
Math.txt
|
|
|
|
""")
|
|
|
|
|
2005-04-22 16:51:00 +00:00
|
|
|
Import('BuildPlugin env')
|
2005-04-16 18:48:50 +00:00
|
|
|
|
2006-11-17 11:38:15 +00:00
|
|
|
if float(env['MSVS_VERSION']) >= 8.0:
|
2006-10-30 19:45:18 +00:00
|
|
|
files += ['Source/mathcrtmt.lib']
|
|
|
|
else:
|
|
|
|
files += ['Source/mathcrt.lib']
|
|
|
|
|
2005-09-17 08:50:41 +00:00
|
|
|
BuildPlugin(target, files, libs, examples, docs, nodeflib = False, flags = ['$CPP_FLAG'])
|