2013-09-19 17:40:51 +04:00
|
|
|
|
2013-09-24 22:31:53 +04:00
|
|
|
if [ -d "/c/PROGRA~2/MICROS~2.0" ]; then
|
|
|
|
# /c/Program Files (x86)/Microsoft Visual Studio 10.0
|
|
|
|
_VSPATH="/c/PROGRA~2/MICROS~2.0"
|
2013-09-19 17:40:51 +04:00
|
|
|
else
|
|
|
|
_VSPATH="/c/tools/msvs10"
|
|
|
|
fi
|
|
|
|
|
2013-01-09 23:04:39 +04:00
|
|
|
## SDK redist ##
|
2013-09-19 17:40:51 +04:00
|
|
|
export WIN32_REDIST_DIR=${_VSPATH}/VC/redist/x86/Microsoft.VC100.CRT
|
2013-01-09 23:04:39 +04:00
|
|
|
|
2015-04-23 22:10:30 +03:00
|
|
|
## includes: win8 sdk includes, msvc 10 std library, directx sdk for d3d9 ##
|
|
|
|
export INCLUDE=/c/Program\ Files\ \(x86\)/Windows\ Kits/8.0/include/shared:/c/Program\ Files\ \(x86\)/Windows\ Kits/8.0/include/um:${_VSPATH}/vc/include:${_VSPATH}/vc/atlmfc/include:/c/tools/sdks/dx10/include
|
2013-01-09 23:04:39 +04:00
|
|
|
|
|
|
|
## libs: win8 sdk x86 (32-bit) libs, msvc 10 (32-bit) std library, msvc 10 atl libs, directx sdk (32-bit) for d3d9 ##
|
2013-09-19 17:40:51 +04:00
|
|
|
export LIBPATH=/c/Program\ Files\ \(x86\)/Windows\ Kits/8.0/Lib/win8/um/x86:${_VSPATH}/vc/lib:${_VSPATH}/vc/atlmfc/lib:/c/tools/sdks/dx10/lib
|
|
|
|
export LIB=/c/Program\ Files\ \(x86\)/Windows\ Kits/8.0/Lib/win8/um/x86:${_VSPATH}/vc/lib:${_VSPATH}/vc/atlmfc/lib:/c/tools/sdks/dx10/lib
|
2013-01-09 23:04:39 +04:00
|
|
|
|
|
|
|
## paths: win8 sdk x86 (32-bit) tools, msvc 10 (32-bit) build toolchain, moz tools ##
|
2013-09-19 17:40:51 +04:00
|
|
|
export PATH="/c/Program Files (x86)/Windows Kits/8.0/bin/x86:${_VSPATH}/Common7/IDE:${_VSPATH}/VC/BIN:${_VSPATH}/Common7/Tools:${_VSPATH}/VC/VCPackages:/c/mozilla-build/moztools:${PATH}"
|
2012-05-04 01:27:32 +04:00
|
|
|
|
2014-03-22 05:49:26 +04:00
|
|
|
## WindowsSDKDir ##
|
|
|
|
export WINDOWSSDKDIR="/c/Program Files (x86)/Windows Kits/8.0/"
|
|
|
|
|
2014-09-03 02:32:37 +04:00
|
|
|
. $topsrcdir/build/mozconfig.vs-common
|
2012-08-07 01:07:11 +04:00
|
|
|
|
|
|
|
mk_export_correct_style LIB
|
|
|
|
mk_export_correct_style LIBPATH
|
|
|
|
mk_export_correct_style PATH
|
|
|
|
mk_export_correct_style INCLUDE
|
|
|
|
mk_export_correct_style WIN32_REDIST_DIR
|