make/common/shared/Compiler-msvc.gmk

changeset 57
9c0cc0d0eca2
parent 49
e2f388853a9d
child 114
1c130e7b7a2e
     1.1 --- a/make/common/shared/Compiler-msvc.gmk	Wed Mar 11 14:38:02 2009 -0700
     1.2 +++ b/make/common/shared/Compiler-msvc.gmk	Wed Mar 11 17:31:56 2009 -0700
     1.3 @@ -128,9 +128,19 @@
     1.4          endif
     1.5        endif
     1.6      endif
     1.7 -    # This will cause problems if ALT_COMPILER_PATH is defined to ""
     1.8 -    # which is a directive to use the PATH.
     1.9 -    REBASE         = $(COMPILER_PATH)../REBASE
    1.10 +    ifeq ($(CC_MAJORVER), 15)
    1.11 +      # This should be: CC_VER=15.00.21022.8 LINK_VER=9.00.21022.8
    1.12 +      REQUIRED_CC_VER = 15.00.21022.8
    1.13 +      REQUIRED_LINK_VER = 9.00.21022.8
    1.14 +      COMPILER_NAME=Windows SDK 6.1 Visual Studio 9
    1.15 +      COMPILER_VERSION=VS2008
    1.16 +      RC = $(MSSDK61)/bin/x64/rc
    1.17 +      REBASE = $(MSSDK61/bin/x64/rebase
    1.18 +    else
    1.19 +      # This will cause problems if ALT_COMPILER_PATH is defined to ""
    1.20 +      # which is a directive to use the PATH.
    1.21 +      REBASE         = $(COMPILER_PATH)../REBASE
    1.22 +    endif
    1.23      ifndef COMPILER_PATH
    1.24        COMPILER_PATH := $(error COMPILER_PATH cannot be empty here)
    1.25      endif

mercurial