Only generate common defines when we have those
[MPC.git] / modules / CCProjectCreator.pm
blobf154ca46187db2eb2ccf689cf1fcd60ea9df6cac
1 package CCProjectCreator;
3 # ************************************************************
4 # Description : A Code Composer Project Creator
5 # Author : Chad Elliott
6 # Create Date : 9/18/2006
7 # ************************************************************
9 # ************************************************************
10 # Pragmas
11 # ************************************************************
13 use strict;
15 use ProjectCreator;
16 use WinProjectBase;
18 use vars qw(@ISA);
19 @ISA = qw(WinProjectBase ProjectCreator);
21 # ************************************************************
22 # Subroutine Section
23 # ************************************************************
25 sub compare_output {
26 #my $self = shift;
27 return 1;
31 sub override_valid_component_extensions {
32 my $self = shift;
33 my $comp = shift;
34 my @array = @_;
36 if ($comp eq 'source_files' && $self->languageIs(Creator::cplusplus)) {
37 push(@array, "\\.cdb");
40 return \@array;
44 sub project_file_extension {
45 #my $self = shift;
46 return '.pjt';
50 sub get_dll_exe_template_input_file {
51 #my $self = shift;
52 return 'ccexe';
56 sub get_dll_template_input_file {
57 #my $self = shift;
58 return 'cclib';