Added support for debug and ignored libraries

Updated Project Generator to allow adding different Release/Debug libraries.
Also added ability to specify libraries for Ignore Default Libraries field.
Only Visual Studio templates have been updated.
This commit is contained in:
Scott Przybylski 2012-12-20 21:23:58 -08:00 committed by DavidWyand-GG
parent 1d4ed1da0f
commit b04f060ede
9 changed files with 62 additions and 45 deletions

View file

@ -44,6 +44,8 @@ class Project
public $disabledWarnings; // Additional warnings to disable
public $includes; // Additional include paths
public $libs; // Additional libraries to link against
public $libsDebug; // Additional Debug build libraries to link against
public $libsIgnore; // Ignore Specific Default Libraries
public $lib_dirs; // Additional library search paths
public $lib_includes; // libs to include (generated by modules)
public $additionalExePath; // Additional section to inject into executable path
@ -81,6 +83,8 @@ class Project
$this->defines = array();
$this->includes = array();
$this->libs = array();
$this->libsDebug = array();
$this->libsIgnore = array();
$this->lib_dirs = array();
$this->lib_includes = array();
$this->outputs = array();
@ -330,6 +334,8 @@ class Project
$tpl->assign_by_ref( 'projDisabledWarnings', $this->disabledWarnings );
$tpl->assign_by_ref( 'projIncludes', $this->includes );
$tpl->assign_by_ref( 'projLibs', $this->libs );
$tpl->assign_by_ref( 'projLibsDebug',$this->libsDebug);
$tpl->assign_by_ref( 'projLibsIgnore',$this->libsIgnore);
$tpl->assign_by_ref( 'projLibDirs', $this->lib_dirs );
$tpl->assign_by_ref( 'projDepend', $this->dependencies );
$tpl->assign_by_ref( 'gameProjectName', $gameProjectName );