Subversion Repositories DevTools

Rev

Rev 4814 | Rev 6177 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4814 Rev 6133
Line 29... Line 29...
29
my $toolset_info;
29
my $toolset_info;
30
my $toolset_version = 'MSVC6';
30
my $toolset_version = 'MSVC6';
31
my %ToolsetVersion =
31
my %ToolsetVersion =
32
    (
32
    (
33
        'MSVC6'      =>  { 'def'        => 'vcwin32.def' ,
33
        'MSVC6'      =>  { 'def'        => 'vcwin32.def' ,
34
                           'buildcmd'   => 'msdev =DSW= /make =TYPE= /useenv /out =LOG=' ,
34
                           'buildcmd'   => 'msdev =DSW= /make "=TYPE=" /useenv /out =LOG=' ,
35
                           'cleancmd'   => 'msdev =DSW= /make =TYPE= /clean /useenv' ,
35
                           'cleancmd'   => 'msdev =DSW= /make "=TYPE=" /clean /useenv' ,
36
                           'tmp'        => 'vc60',
36
                           'tmp'        => 'vc60',
37
                           'VSCOMPILER' => '1',
37
                           'VSCOMPILER' => '1',
38
                           'def_targets' => [ 'ALL - RELEASE','ALL - DEBUG' ],
38
                           'def_targets' => [ 'ALL - RELEASE','ALL - DEBUG' ],
39
                           },
39
                           },
40
 
40
 
41
        'MS.NET2003' =>  { 'def'        => 'vcwin32_net2003.def' ,
41
        'MS.NET2003' =>  { 'def'        => 'vcwin32_net2003.def' ,
42
                           'buildcmd'   => 'devenv =DSW= /build =TYPE= /useenv /out =LOG=' ,
42
                           'buildcmd'   => 'devenv =DSW= /build "=TYPE=" /useenv /out =LOG=' ,
43
                           'cleancmd'   => 'devenv =DSW= /clean =TYPE= /useenv' ,
43
                           'cleancmd'   => 'devenv =DSW= /clean "=TYPE=" /useenv' ,
44
                           'tmp'        => 'vc70',
44
                           'tmp'        => 'vc70',
45
                           'VSCOMPILER' => '2',
45
                           'VSCOMPILER' => '2',
46
                           },
46
                           },
47
                           
47
                           
48
        'MS.NET2005' =>  { 'def'        => 'vcwin32_net2005.def' ,
48
        'MS.NET2005' =>  { 'def'        => 'vcwin32_net2005.def' ,
49
                           'buildcmd'   => 'devenv =DSW= /build =TYPE= /useenv /out =LOG=' ,
49
                           'buildcmd'   => 'devenv =DSW= /build "=TYPE=" /useenv /out =LOG=' ,
50
                           'cleancmd'   => 'devenv =DSW= /clean =TYPE= /useenv' ,
50
                           'cleancmd'   => 'devenv =DSW= /clean "=TYPE=" /useenv' ,
51
                           'tmp'        => 'vc80',
51
                           'tmp'        => 'vc80',
52
                           'VSCOMPILER' => '3',
52
                           'VSCOMPILER' => '3',
53
                           'GenManifest' => '1',
53
                           'GenManifest' => '1',
54
                           },
54
                           },
55
 
55
 
56
        'MS.NET2008' =>  { 'def'        => 'vcwin32_net2008.def' ,
56
        'MS.NET2008' =>  { 'def'        => 'vcwin32_net2008.def' ,
57
                           'buildcmd'   => 'devenv =DSW= /build =TYPE= /useenv /out =LOG=' ,
57
                           'buildcmd'   => 'devenv =DSW= /build "=TYPE=" /useenv /out =LOG=' ,
58
                           'cleancmd'   => 'devenv =DSW= /clean =TYPE= /useenv' ,
58
                           'cleancmd'   => 'devenv =DSW= /clean "=TYPE=" /useenv' ,
59
                           'tmp'        => 'vc90',
59
                           'tmp'        => 'vc90',
60
                           'VSCOMPILER' => '3',
60
                           'VSCOMPILER' => '3',
61
                           'GenManifest' => '1',
61
                           'GenManifest' => '1',
62
                           },
62
                           },
63
 
63
 
64
        'MS.NET2010' =>  { 'def'        => 'vcwin32_net2010.def' ,
64
        'MS.NET2010' =>  { 'def'        => 'vcwin32_net2010.def' ,
65
                           'buildcmd'   => 'devenv =DSW= /build =TYPE= /useenv /out =LOG=' ,
65
                           'buildcmd'   => 'devenv =DSW= /build "=TYPE=" /useenv /out =LOG=' ,
66
                           'cleancmd'   => 'devenv =DSW= /clean =TYPE= /useenv' ,
66
                           'cleancmd'   => 'devenv =DSW= /clean "=TYPE=" /useenv' ,
67
                           'tmp'        => 'vc100',
67
                           'tmp'        => 'vc100',
68
                           'VSCOMPILER' => '3',
68
                           'VSCOMPILER' => '3',
69
                           'GenManifest' => '1',
69
                           'GenManifest' => '1',
70
                           },
70
                           },
71
 
71
 
72
        'MS.NET2012' =>  { 'def'        => 'vcwin32_net2012.def' ,
72
        'MS.NET2012' =>  { 'def'        => 'vcwin32_net2012.def' ,
73
                           'buildcmd'   => 'devenv =DSW= /build =TYPE= /useenv /out =LOG=' ,
73
                           'buildcmd'   => 'devenv =DSW= /build "=TYPE=" /useenv /out =LOG=' ,
74
                           'cleancmd'   => 'devenv =DSW= /clean =TYPE= /useenv' ,
74
                           'cleancmd'   => 'devenv =DSW= /clean "=TYPE=" /useenv' ,
75
                           'tmp'        => 'vc110',
75
                           'tmp'        => 'vc110',
76
                           'VSCOMPILER' => '3',
76
                           'VSCOMPILER' => '3',
77
                           'GenManifest' => '1',
77
                           'GenManifest' => '1',
78
                           },
78
                           },
79
 
79
 
-
 
80
       'MS.NET2015' =>  { 'def'        => 'vs2015.def' ,
-
 
81
                          'buildcmd'   => 'devenv =DSW= /build "=TYPE=|x86" /useenv /out =LOG=' ,
-
 
82
                          'cleancmd'   => 'devenv =DSW= /clean "=TYPE=|x86" /useenv' ,
-
 
83
                          'tmp'        => 'vc110',
-
 
84
                          'VSCOMPILER' => '3',
-
 
85
                          'GenManifest' => '1',
-
 
86
                          },
-
 
87
 
-
 
88
 
80
        'VS2012_X64' =>  { 'def'        => 'vs2012_x64.def' ,
89
       'VS2012_X64' =>   { 'def'        => 'vs2012_x64.def' ,
81
                           'buildcmd'   => 'devenv =DSW= /build =TYPE= /useenv /out =LOG=' ,
90
                           'buildcmd'   => 'devenv =DSW= /build "=TYPE=" /useenv /out =LOG=' ,
82
                           'cleancmd'   => 'devenv =DSW= /clean =TYPE= /useenv' ,
91
                           'cleancmd'   => 'devenv =DSW= /clean "=TYPE=" /useenv' ,
83
                           'tmp'        => 'vc110',
92
                           'tmp'        => 'vc110',
84
                           'VSCOMPILER' => '3',
93
                           'VSCOMPILER' => '3',
85
                           'GenManifest' => '1',
94
                           'GenManifest' => '1',
86
                           'Machine'    => 'X64',
95
                           'Machine'    => 'X64',
87
                           'Rules'      => 'vcwin64.rul',
96
                           'Rules'      => 'vcwin64.rul',
88
                           'NoKludges'  => 1,
97
                           'NoKludges'  => 1,
89
                         },
98
                         },
90
 
99
 
-
 
100
       'VS2015_X64' => { 'def'        => 'vs2015_x64.def' ,
-
 
101
                         'buildcmd'   => 'devenv =DSW= /build "=TYPE=|x64" /useenv /out =LOG=' ,
-
 
102
                         'cleancmd'   => 'devenv =DSW= /clean "=TYPE=|x64" /useenv' ,
-
 
103
                         'tmp'        => 'vc110',
-
 
104
                         'VSCOMPILER' => '3',
-
 
105
                         'GenManifest' => '1',
-
 
106
                         'Machine'    => 'X64',
-
 
107
                         'Rules'      => 'vcwin64.rul',
-
 
108
                         'NoKludges'  => 1,
-
 
109
                       },
-
 
110
 
-
 
111
 
91
                           
112
                           
92
    );
113
    );
93
 
114
 
94
 
115
 
95
##############################################################################
116
##############################################################################
Line 1440... Line 1461...
1440
    #       Substitute arguments
1461
    #       Substitute arguments
1441
    #           =TYPE=
1462
    #           =TYPE=
1442
    #           =LOG=
1463
    #           =LOG=
1443
    #           =DSW=
1464
    #           =DSW=
1444
    #
1465
    #
1445
    $buildcmd =~ s~=TYPE=~"\$(call project_target,$release,$debug)"~g;
1466
    $buildcmd =~ s~=TYPE=~\$(call project_target,$release,$debug)~g;
1446
    $buildcmd =~ s~=LOG=~$name\$(GBE_TYPE).log~g;
1467
    $buildcmd =~ s~=LOG=~$name\$(GBE_TYPE).log~g;
1447
    $buildcmd =~ s~=DSW=~$solution~g;
1468
    $buildcmd =~ s~=DSW=~$solution~g;
1448
 
1469
 
1449
    $cleancmd =~ s~=TYPE=~"\$(call project_target,$release,$debug)"~g;
1470
    $cleancmd =~ s~=TYPE=~\$(call project_target,$release,$debug)~g;
1450
    $cleancmd =~ s~=LOG=~$name\$(GBE_TYPE).log~g;
1471
    $cleancmd =~ s~=LOG=~$name\$(GBE_TYPE).log~g;
1451
    $cleancmd =~ s~=DSW=~$solution~g;
1472
    $cleancmd =~ s~=DSW=~$solution~g;
1452
    
1473
    
1453
    #
1474
    #
1454
    #   Generate the recipe to create the project
1475
    #   Generate the recipe to create the project