Subversion Repositories DevTools

Rev

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

Rev 347 Rev 351
Line 39... Line 39...
39
             },
39
             },
40
             
40
             
41
    '4.0' => { 'def'      => 'CSHARP2010.DEF',
41
    '4.0' => { 'def'      => 'CSHARP2010.DEF',
42
               'pragma'   => 1,
42
               'pragma'   => 1,
43
               'warnings' => '1668',
43
               'warnings' => '1668',
-
 
44
               'platform' => 'x86',
44
             },
45
             },
45
             
46
             
46
    );
47
    );
47
 
48
 
48
 
49
 
Line 134... Line 135...
134
        'nowarn='            => { 'NOWARNLIST'  ,\&NoWarns },   # Suppress warnings
135
        'nowarn='            => { 'NOWARNLIST'  ,\&NoWarns },   # Suppress warnings
135
        'nopdb'              => { 'PDB_NONE', 1 },              # Disable all PDB files
136
        'nopdb'              => { 'PDB_NONE', 1 },              # Disable all PDB files
136
        'pdb'                => { 'PDB_NONE', undef },          # Enable PDB files: Default
137
        'pdb'                => { 'PDB_NONE', undef },          # Enable PDB files: Default
137
        'subsystem:windows'  => { 'LDSUBSYSTEM' , 'winexe' },
138
        'subsystem:windows'  => { 'LDSUBSYSTEM' , 'winexe' },
138
        'subsystem:console'  => { 'LDSUBSYSTEM' , 'exe' },
139
        'subsystem:console'  => { 'LDSUBSYSTEM' , 'exe' },
-
 
140
        'platform:32'        => { 'NET_PLATFORM', 'x86' },
-
 
141
        'platform:64'        => { 'NET_PLATFORM', 'x64' },
-
 
142
        'platform:any'       => { 'NET_PLATFORM', undef },
139
    );
143
    );
140
 
144
 
141
    #
145
    #
142
    #   Set default options
146
    #   Set default options
143
    #
147
    #
144
    $::ScmCompilerOpts{'ADDLINKLIBS'} = '1';
148
    $::ScmCompilerOpts{'ADDLINKLIBS'} = '1';
145
    $::ScmCompilerOpts{'NOWARNLIST'} = $toolset_info->{'warnings'};
149
    $::ScmCompilerOpts{'NOWARNLIST'} = $toolset_info->{'warnings'};
146
    $::ScmCompilerOpts{'LDSUBSYSTEM'} = 'winexe';
150
    $::ScmCompilerOpts{'LDSUBSYSTEM'} = 'winexe';
-
 
151
    $::ScmCompilerOpts{'NET_PLATFORM'} = $toolset_info->{'platform'};
147
}
152
}
148
 
153
 
149
 
154
 
150
#-------------------------------------------------------------------------------
155
#-------------------------------------------------------------------------------
151
# Function        : NoWarns
156
# Function        : NoWarns