#1109 Support for Visual Studio 2003/5/8/10/12/13/15
This commit is contained in:
parent
2582a756eb
commit
edb5c16a7f
@ -198,8 +198,14 @@ void Exiv2::dumpLibraryInfo(std::ostream& os,const exv_grep_keys_t& keys)
|
||||
"MSVC" ;
|
||||
|
||||
#ifndef __VERSION__
|
||||
char version[20];
|
||||
char version[40];
|
||||
sprintf(version,"%d.%02d",(_MSC_VER-600)/100,_MSC_VER%100);
|
||||
|
||||
// add edition in brackets
|
||||
int edition = (_MSC_VER-600)/100; // 7.1 = 2003 ... 14 = 2015
|
||||
const char* editions[] = { "2003", "2005", "2008", "2010", "2012","2013","no version 13","2015"};
|
||||
if ( edition < 7 || edition > 14 ) edition = 0 ;
|
||||
if ( edition ) sprintf(version+::strlen(version)," (%s)",editions[edition-7] );
|
||||
#define __VERSION__ version
|
||||
#endif
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
@ -97,7 +97,7 @@ a:hover { background-color : cyan ; }
|
||||
if ( t('webready') ) s(['curl','libssh','openssl']);
|
||||
|
||||
// estimate MSVC
|
||||
var m = t('2003') + t('2005') + t('2008') + t('2010') + t('2012') + t('2014'); // msvc builds
|
||||
var m = t('2003') + t('2005') + t('2008') + t('2010') + t('2012') + t('2013') + t('2015'); // msvc builds
|
||||
var M = 4; // msvc build time
|
||||
if ( t('curl' ) ) M += 5;
|
||||
if ( t('libssh' ) ) M += 1;
|
||||
@ -223,7 +223,8 @@ a:hover { background-color : cyan ; }
|
||||
<br><input type="checkbox" onclick="e()" name="2008" >2008</input>
|
||||
<br><input type="checkbox" onclick="e()" name="2010" >2010</input>
|
||||
<br><input type="checkbox" onclick="e()" name="2012" >2012</input>
|
||||
<br><input type="checkbox" onclick="e()" name="2014" >2014</input>
|
||||
<br><input type="checkbox" onclick="e()" name="2013" >2013</input>
|
||||
<br><input type="checkbox" onclick="e()" name="2015" >2015</input>
|
||||
</td>
|
||||
<th>Link:</th>
|
||||
<td><input type="checkbox" onclick="e()" name="zlib" >zlib</input>
|
||||
Loading…
Reference in New Issue
Block a user