Math compiles
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3976 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
5d67abb539
commit
b9e8ba7ba9
2 changed files with 6 additions and 8 deletions
|
@ -1,10 +1,10 @@
|
||||||
target = 'Math'
|
target = 'Math'
|
||||||
|
|
||||||
files = Split("""
|
files = Split("""
|
||||||
Source/Math.cpp
|
Source/Math.c
|
||||||
Source/MyMath.cpp
|
Source/MyMath.c
|
||||||
Source/plugin.cpp
|
Source/plugin.c
|
||||||
Source/floatp10.c
|
Source/mathcrt.lib
|
||||||
""")
|
""")
|
||||||
|
|
||||||
libs = Split("""
|
libs = Split("""
|
||||||
|
@ -14,9 +14,8 @@ libs = Split("""
|
||||||
Import('PluginEnv')
|
Import('PluginEnv')
|
||||||
|
|
||||||
env = PluginEnv(target, entry = 'DllMain', nodeflib = 0)
|
env = PluginEnv(target, entry = 'DllMain', nodeflib = 0)
|
||||||
#env = PluginEnv(target, entry = '_DllMainCRTStartup', vc7 = 1)
|
|
||||||
|
|
||||||
#libs = libs + [File('Source/mathcrt.lib')]
|
env.Append(CPPFLAGS = env['CPP_FLAG'])
|
||||||
|
|
||||||
plugin = env.SharedLibrary(target, files, LIBS = libs)
|
plugin = env.SharedLibrary(target, files, LIBS = libs)
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
## TODO
|
## TODO
|
||||||
#
|
#
|
||||||
# * VPatch GenPat (wait for v3 written in C)
|
# * VPatch GenPat (wait for v3 written in C)
|
||||||
# * Get Math to Compile
|
|
||||||
# * Write SConscript for NSIS Menu
|
# * Write SConscript for NSIS Menu
|
||||||
# - Use inheritance instead of current wxWidgets patches
|
# - Use inheritance instead of current wxWidgets patches
|
||||||
# - Compile for POSIX too? wxWidgets is cross platform after all...
|
# - Compile for POSIX too? wxWidgets is cross platform after all...
|
||||||
|
@ -23,7 +22,7 @@ plugins = [
|
||||||
'InstallOptions',
|
'InstallOptions',
|
||||||
'LangDLL',
|
'LangDLL',
|
||||||
'Library/TypeLib',
|
'Library/TypeLib',
|
||||||
# compile errors 'Math',
|
'Math',
|
||||||
'nsExec',
|
'nsExec',
|
||||||
'NSISdl',
|
'NSISdl',
|
||||||
'Splash',
|
'Splash',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue