install Intel C++ redistributable DLLs along with the Mitsuba distribution

metadata
Wenzel Jakob 2011-06-01 14:03:27 -07:00
parent ad3ccd68e9
commit ab239c4cb6
2 changed files with 4 additions and 0 deletions

View File

@ -63,6 +63,9 @@ if sys.platform == 'win32':
install('#dist', ['libcollada14dom23.dll', 'boost_system-%s-mt-1_44.dll' % compilerType,
'boost_filesystem-%s-mt-1_44.dll' % compilerType], dllprefix + '/' + compilerType + '/')
if 'REDIST_PATH' in env:
install('#dist', ['libmmd.dll', 'libiomp5md.dll'], prefix = env['REDIST_PATH'])
if hasQt:
install('#dist', ['qtgui/mtsgui.exe'])
install('#dist', ['QtCore4.dll', 'QtGui4.dll', 'QtXml4.dll',

View File

@ -111,6 +111,7 @@ def generate(env):
icpp_path = os.environ.get('ICPP_COMPOSER2011')
merge_script_vars(env, os.path.join(icpp_path, 'bin/iclvars.bat'), arch + ' ' + vsrelease)
env['REDIST_PATH'] = os.path.join(os.path.join(os.path.join(icpp_path, 'redist'), arch), 'compiler')
def exists(env):
if 'INTEL_COMPILER' not in env or env['INTEL_COMPILER'] != True: