blob: 47786b49dcdd82150e0540f3a66b803b2e294a4e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
package VCProjectBase;
# ************************************************************
# Description : A VC Project base module
# Author : Chad Elliott
# Create Date : 1/4/2005
# ************************************************************
# ************************************************************
# Pragmas
# ************************************************************
use strict;
use WinProjectBase;
use vars qw(@ISA);
@ISA = qw(WinProjectBase);
# ************************************************************
# Subroutine Section
# ************************************************************
sub compare_output {
#my $self = shift;
return 1;
}
sub require_dependencies {
my $self = shift;
## Only write dependencies for non-static projects
## and static exe projects, unless the user wants the
## dependency combined static library.
return ($self->get_static() == 0 || $self->exe_target() ||
$self->dependency_combined_static_library());
}
sub dependency_is_filename {
#my $self = shift;
return 0;
}
sub get_properties {
my $self = shift;
## Get the base class properties and add the properties that we
## support.
my $props = $self->WinProjectBase::get_properties();
## All projects that use this base class are for Microsoft compilers.
$$props{'microsoft'} = 1;
return $props;
}
1;
|