summaryrefslogtreecommitdiff
path: root/modules/dynamic_link/macros/windows/dlwConfigureVcx64.sci
blob: 76ee94e62c4236ee681e753881a05e79ba2f4898 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
// Copyright (C) DIGITEO - 2010 - Allan CORNET
// Copyright (C) Scilab Enterprises - 2014 - Antoine ELIAS
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution.  The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt

//=============================================================================
function bOK = dlwConfigureVcx64()
  bOK = %F;
  msvc = findmsvccompiler();

  select msvc
     // Microsoft Visual 2013 Studio Professional
     case  'msvc120pro' then
         bOK = dlwSetEnvVc12(msvc, %t);

     // Microsoft Visual 2013 Express
     case  'msvc120express' then
         bOK = dlwSetEnvVc12(msvc, %t);

     // Microsoft Visual 2012 Studio Professional
     case  'msvc110pro' then
         bOK = dlwSetEnvVc11(msvc, %t);

     // Microsoft Visual 2012 Express
     case  'msvc110express' then
         bOK = dlwSetEnvVc11(msvc, %t);
     
     // Microsoft Visual 2010 Studio Professional
        case  'msvc100pro' then
         bOK = dlwSetEnvVc10(msvc, %t);

     // Microsoft Visual 2010 Express
     case  'msvc100express' then
         bOK = dlwSetEnvVc10(msvc, %t);

     // Microsoft Visual 2008 Studio Professional
     case  'msvc90pro' then
         bOK = dlwSetEnvVc90(msvc, %t);

     // Microsoft Visual 2008 Studio Standard
     case  'msvc90std' then
         bOK = dlwSetEnvVc90(msvc, %t);

    // Microsoft Visual 2008 Express
    case  'msvc90express' then
        bOK = dlwSetEnvVc90(msvc, %t);
  else
  end  
endfunction
//=============================================================================