summaryrefslogtreecommitdiff
path: root/modules/CCProjectCreator.pm
diff options
context:
space:
mode:
authorelliott_c <ocielliottc@users.noreply.github.com>2006-09-26 11:52:21 +0000
committerelliott_c <ocielliottc@users.noreply.github.com>2006-09-26 11:52:21 +0000
commit65ab209e41b7f99a40f1440eec143a2e38cff301 (patch)
treef0e8042c09193c157aff55ec099dc2466ffabf8b /modules/CCProjectCreator.pm
parentcdba65e2981b01d1f4099c411b6fc6b3f9fbdc2e (diff)
downloadMPC-65ab209e41b7f99a40f1440eec143a2e38cff301.tar.gz
ChangeLogTag: Tue Sep 26 11:49:52 UTC 2006 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'modules/CCProjectCreator.pm')
-rw-r--r--modules/CCProjectCreator.pm56
1 files changed, 56 insertions, 0 deletions
diff --git a/modules/CCProjectCreator.pm b/modules/CCProjectCreator.pm
new file mode 100644
index 00000000..1d4e1c3c
--- /dev/null
+++ b/modules/CCProjectCreator.pm
@@ -0,0 +1,56 @@
+package CCProjectCreator;
+
+# ************************************************************
+# Description : A Code Composer Project Creator
+# Author : Chad Elliott
+# Create Date : 9/18/2006
+# ************************************************************
+
+# ************************************************************
+# Pragmas
+# ************************************************************
+
+use strict;
+
+use ProjectCreator;
+use WinProjectBase;
+
+use vars qw(@ISA);
+@ISA = qw(WinProjectBase ProjectCreator);
+
+# ************************************************************
+# Subroutine Section
+# ************************************************************
+
+sub override_valid_component_extensions {
+ my($self) = shift;
+ my($comp) = shift;
+ my(@array) = @_;
+
+ if ($comp eq 'source_files' && $self->get_language() eq 'cplusplus') {
+ push(@array, "\\.cdb");
+ }
+
+ return \@array;
+}
+
+
+sub project_file_extension {
+ #my($self) = shift;
+ return '.pjt';
+}
+
+
+sub get_dll_exe_template_input_file {
+ #my($self) = shift;
+ return 'ccexe';
+}
+
+
+sub get_dll_template_input_file {
+ #my($self) = shift;
+ return 'cclib';
+}
+
+
+1;