From a354cb67c437bb61c4b0552dcff84e157c06c756 Mon Sep 17 00:00:00 2001 From: ejcoumans Date: Sat, 23 Dec 2006 07:19:40 +0000 Subject: [PATCH] minor tweak in msvcgen --- mk/msvcgen/projectx7.tlib | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/mk/msvcgen/projectx7.tlib b/mk/msvcgen/projectx7.tlib index 610e6b45a..e2302da80 100644 --- a/mk/msvcgen/projectx7.tlib +++ b/mk/msvcgen/projectx7.tlib @@ -99,18 +99,20 @@ OutputFile="[% path([my.doc.buildroot.0, my.doc.target.0]) %]" [% END %] -[% MACRO linker_app(subsys,prefix) BLOCK -%] +[% MACRO linker_app_release(subsys) BLOCK -%] + OutputFile="[% path([my.doc.buildroot.0, glue(['Release',my.doc.target.0])]) %]" + SubSystem="[% subsys %]" [% END %] -[% MACRO linker_appcon GET linker_app(1) %] -[% MACRO linker_appgui_release BLOCK -%] - OutputFile="[% path([my.doc.buildroot.0, glue([ 'Release_',my.doc.target.0])]) %]" - SubSystem="1" +[% MACRO linker_app_debug(subsys) BLOCK -%] + OutputFile="[% path([my.doc.buildroot.0, glue(['Debug',my.doc.target.0])]) %]" + SubSystem="[% subsys %]" [% END %] -[% MACRO linker_appgui_debug BLOCK -%] - OutputFile="[% path([my.doc.buildroot.0, glue([ 'Debug_',my.doc.target.0])]) %]" - SubSystem="2" -[% END %] +[% MACRO linker_appcon_release GET linker_app_release(2) %] +[% MACRO linker_appcon_debug GET linker_app_debug(1) %] + +[% MACRO linker_appgui_release GET linker_app_debug(2) %] +[% MACRO linker_appgui_debug GET linker_app_debug(1) %] [% MACRO linker_plugin BLOCK -%] [% linker_common -%]