build NSIS Menu from source (requires wxWidgets)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4958 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
1a7016361c
commit
b8bf22affb
20 changed files with 792 additions and 3060 deletions
13
SConstruct
13
SConstruct
|
@ -1,11 +1,3 @@
|
|||
## TODO
|
||||
#
|
||||
# * Write SConscript for NSIS Menu
|
||||
# - Use inheritance instead of current wxWidgets patches
|
||||
# - Compile for POSIX too? wxWidgets is cross platform after all...
|
||||
#
|
||||
##
|
||||
|
||||
EnsurePythonVersion(1,6)
|
||||
|
||||
try:
|
||||
|
@ -510,12 +502,15 @@ def BuildUtil(target, source, libs, entry = None, res = None,
|
|||
resources = None, defines = None, flags = None,
|
||||
nodeflib = False, file_name = '', path='', contrib = False,
|
||||
examples = None, docs = None, cross_platform = False,
|
||||
root_util = False):
|
||||
root_util = False, libpath = [], incpath = []):
|
||||
if not cross_platform:
|
||||
env = util_env.Clone()
|
||||
else:
|
||||
env = cp_util_env.Clone()
|
||||
|
||||
env.Append(CPPPATH = incpath)
|
||||
env.Append(LIBPATH = libpath)
|
||||
|
||||
AddEnvStandardFlags(env, defines, flags, entry, nodeflib)
|
||||
|
||||
AppendRES(env, source, res, resources)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue