Add VS2012 support

Files are essentially just copied from the 2010 version with slight
tweaks, works without any warnings or errors.
This commit is contained in:
Cornee Traas 2014-12-13 22:22:33 +01:00
parent 826b81fc20
commit 6cb5496ae6
11 changed files with 1354 additions and 0 deletions

View file

@ -116,6 +116,31 @@ $c->setDotNetInfo('vc2010_csproj.tpl');
$c->setDontCompilePatterns( "#/platformPOSIX.*#", "#/platformMac.*#", "#\.mac\.#", "#/mac/#", "#\.mm$#", "#\.m$#" );
///////////////////////////// VS2012 /////////////////////////////
$c = BuildTarget::add( 'VS2012', // Name
'buildFiles/VisualStudio 2012', // Solution output directory
'projects/', // Project output directory (relative to solution)
'../../source/', // Base directory
'vc2012_proj.tpl', // App Project Template
'vc2012_shared.tpl', // Shared App Project Template
'vc2012_lib_proj.tpl', // Lib Project Template
'vc2012_dll_proj.tpl', // Shared Lib Project Template
'vc2012_activex_proj.tpl', // ActiveX Control
'.vcxproj' ); // File ext to write the project to
// Solution template and extension
$c->setSolutionInfo( 'vc2012_sln.tpl', '', '.sln', 'vc2012_filter.tpl' );
$c->setFileExtensions( 'c', 'cc', 'h', 'cpp', 'inl', 'asm', 'rc', 'm', 'mm', 'cs' );
$c->setSourceFileExtensions( 'c', 'cc', 'cpp' );
$c->setPlatforms( "win", "win32" );
$c->setDotNetInfo('vc2012_csproj.tpl');
$c->setDontCompilePatterns( "#/platformPOSIX.*#", "#/platformMac.*#", "#\.mac\.#", "#/mac/#", "#\.mm$#", "#\.m$#" );
/////////////////////////// XCode /////////////////////////////
$c = BuildTarget::add( 'Xcode', // Name