Source

nsis64 / SCons / Config / default

Full commit
print "Using default tools configuration"

Import('defenv')

### flags

defenv['ENTRY_FLAG'] = lambda x: ''
defenv['MAP_FLAG'] = ''
defenv['EXCEPTION_FLAG'] = ''
defenv['NODEFLIBS_FLAG'] = ''
defenv['C_FLAG'] = ''
defenv['CPP_FLAG'] = ''
defenv['CPP_REQUIRES_STDLIB'] = 0
defenv['SUBSYS_CON'] = ''
defenv['MSVCRT_FLAG'] = ''
defenv['STDCALL'] = ''

### defines

defenv.Append(CPPDEFINES = [('NSISCALL', '$STDCALL')])

### stub environment

stub_env = defenv.Clone()

stub_env.Append(CPPPATH = ['#$BUILD_CONFIG'])

### makensis environment

makensis_env = defenv.Clone()

makensis_env.Append(CPPPATH = ['#$BUILD_CONFIG'])

### plugin environment

plugin_env = defenv.Clone(no_import_lib = 1)

### util environment

util_env = defenv.Clone()

### cross-platform util environment

cp_util_env = util_env.Clone()

cp_util_env.Append(CPPPATH = ['#$BUILD_CONFIG'])

### test environment

test_env = defenv.Clone()

test_env.Append(CPPPATH = ['#$BUILD_CONFIG'])

# return

Return('stub_env makensis_env plugin_env util_env cp_util_env test_env stub_env plugin_env')