added prefix option
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3978 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
53a292c419
commit
5113e9afa5
1 changed files with 8 additions and 3 deletions
11
SConstruct
11
SConstruct
|
@ -44,9 +44,6 @@ utils = [
|
|||
|
||||
import os
|
||||
|
||||
prefix = GetLaunchDir() + os.sep
|
||||
build_prefix = 'build' + os.sep
|
||||
|
||||
######################################################################
|
||||
####### environments ###
|
||||
######################################################################
|
||||
|
@ -55,6 +52,7 @@ defenv = Environment()
|
|||
Export('defenv')
|
||||
|
||||
opts = Options()
|
||||
opts.Add(PathOption('PREFIX', 'Installation prefix', GetLaunchDir()))
|
||||
opts.Add(('MINGWPREFIX', 'MinGW toolset prefix', 0))
|
||||
opts.Add(BoolOption('MSTOOLKIT', 'Use Microsoft Visual C++ Toolkit', 'no'))
|
||||
opts.Add(BoolOption('DEBUG', 'Build executables with debugging information', 'no'))
|
||||
|
@ -81,6 +79,13 @@ makensis_env = envs[1]
|
|||
plugin_env = envs[2]
|
||||
util_env = envs[3]
|
||||
|
||||
######################################################################
|
||||
####### directories ###
|
||||
######################################################################
|
||||
|
||||
prefix = defenv['PREFIX'] + os.sep
|
||||
build_prefix = 'build' + os.sep
|
||||
|
||||
######################################################################
|
||||
####### stubs ###
|
||||
######################################################################
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue