def build_lcms_70(compiler):
 if (compiler['platform'] == 'x64'):
  return ''
 'Build LCMS on VC2008. This version is only 32bit/Win32'
 return ('\nrem Build lcms2\nsetlocal\nrd /S /Q %%LCMS%%\\Lib\nrd /S /Q %%LCMS%%\\Projects\\VC%(vc_version)s\\Release\n%%MSBUILD%% %%LCMS%%\\Projects\\VC%(vc_version)s\\lcms2.sln  /t:Clean /p:Configuration="Release" /p:Platform=Win32 /m\n%%MSBUILD%% %%LCMS%%\\Projects\\VC%(vc_version)s\\lcms2.sln /t:lcms2_static /p:Configuration="Release" /p:Platform=Win32 /m\nxcopy /Y /E /Q %%LCMS%%\\include %%INCLIB%%\ncopy /Y /B %%LCMS%%\\Projects\\VC%(vc_version)s\\Release\\*.lib %%INCLIB%%\nendlocal\n' % compiler)

def build_lcms_70 ( compiler ) : if ( compiler [ 'platform' ] == 'x64' ) : return '' 'Build LCMS on VC2008. This version is only 32bit/Win32' return ( '\nrem Build lcms2\nsetlocal\nrd /S /Q %%LCMS%%\\Lib\nrd /S /Q %%LCMS%%\\Projects\\VC%(vc_version)s\\Release\n%%MSBUILD%% %%LCMS%%\\Projects\\VC%(vc_version)s\\lcms2.sln  /t:Clean /p:Configuration="Release" /p:Platform=Win32 /m\n%%MSBUILD%% %%LCMS%%\\Projects\\VC%(vc_version)s\\lcms2.sln /t:lcms2_static /p:Configuration="Release" /p:Platform=Win32 /m\nxcopy /Y /E /Q %%LCMS%%\\include %%INCLIB%%\ncopy /Y /B %%LCMS%%\\Projects\\VC%(vc_version)s\\Release\\*.lib %%INCLIB%%\nendlocal\n' % compiler )
link error here on x64 .