summaryrefslogtreecommitdiff
path: root/modules/TemplateParser.pm
diff options
context:
space:
mode:
authorPhil Mesnier <mesnier_p@ociweb.com>2008-09-16 21:37:03 +0000
committerPhil Mesnier <mesnier_p@ociweb.com>2008-09-16 21:37:03 +0000
commite20cdf88a6264cf905778846b1d28a608a6becc7 (patch)
tree2297337443e6381063f1c09e2405271633be917f /modules/TemplateParser.pm
parentf42d9a6ac9f840c4e39dcbb4469ccdecfd638be0 (diff)
downloadMPC-e20cdf88a6264cf905778846b1d28a608a6becc7.tar.gz
Tue Sep 16 21:18:01 UTC 2008 Phil Mesnier <mesnier_p@ociweb.com>
Diffstat (limited to 'modules/TemplateParser.pm')
-rw-r--r--modules/TemplateParser.pm8
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/TemplateParser.pm b/modules/TemplateParser.pm
index 8d55216f..8213b94e 100644
--- a/modules/TemplateParser.pm
+++ b/modules/TemplateParser.pm
@@ -1746,6 +1746,14 @@ sub collect_data {
## of the language associated with each project.
$prjc->update_project_info($self, 1, ['language']);
+ ## For VC7+ to properly work with wince, which is cross compiled,
+ ## a new platform-specific token is added, nocross, which is used
+ ## to determine if a project is even to be built for non-native
+ ## targets. Additionally, custom-only projects are built but not
+ ## deployed, thus these are added to the project_info mix
+ $prjc->update_project_info($self, 1, ['custom_only']);
+ $prjc->update_project_info($self, 1, ['nocross']);
+
## Some Windows based projects can't deal with certain version
## values. So, for those we provide a translated version.
my $version = $prjc->get_assignment('version');