Subversion Repositories DevTools

Rev

Rev 7299 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
227 dpurdie 1
###############################################################################
7300 dpurdie 2
# COPYRIGHT - VIX IP PTY LTD ("VIX"). ALL RIGHTS RESERVED.
227 dpurdie 3
#
4
# File:         PLATFORM/VS2003.cfg
5
#
6
# Contents:     WIN32 Build support
7
#
8
#               This package is used during the processing of the build.pl file
9
#               Values provided by this package are used to extend the Platform
10
#               information as platforms are being created. This provides a
11
#               powerful set of mechanism to extend the entire JATS toolset
12
#
13
#
14
# Version   Who      Date       Description
15
#           DDP      01-Aug-06  Created
16
###############################################################################
17
 
18
use strict;
19
use warnings;
20
 
21
package VS2003_Build;
22
 
23
#-------------------------------------------------------------------------------
24
# Function        : add_platform
25
#
26
# Description     : This function is invoked just before a 'platform' is about
27
#                   to be added to the build system.
28
#
29
#                   This call is allowed to alter or extend the platform build
30
#                   information.
31
#
32
# Inputs          : $pInfo          - Reference to the platform build info hash
33
#
34
# Returns         : Nothing yet
35
#
36
sub add_platform
37
{
38
    my $class = shift;              # Not really a class, but its called like a class
39
    my $pInfo  = shift;
40
 
41
    #   ALSO_USES
42
    #   An array of other platforms that may be 'used' by this platform.
43
    #   The process is not recursive
44
    #   Similar to the --Uses option in BuildPlatforms()
45
    #   Will be subject to product expansion.
46
    #
47
    #   Intended use: VS2003 can use stuff from WIN32, but only if the
48
    #                 VS2003 stuff is not available.
49
    $pInfo->{ALSO_USES} = ['WIN32'];
50
 
51
    #
52
    #   EXT_SHARED
53
    #   Set to the value of the shared library extension
54
    #
55
    #   Intended Use
56
    #   Used to locate shared libraries in packgages for use in the
57
    #   generation set_<PLATFORM>.sh/.bat
58
    #
59
    #   If not set then the set_.sh files will no be created
60
    #
61
    $pInfo->{EXT_SHARED} = '.dll';
62
 
63
    #
64
    #   OS_COMMON
65
    #   Set the name of a directory to be used to package header files to be
66
    #   used on targets that share a common OS
67
    #
68
    #   Note: Should also be a part of EXTRA_USES
69
    #
70
    #   Intended Use
71
    #   Extend the operation of the PackageHdr directive to allow files
72
    #   common files to be packaged
73
    #
74
    $pInfo->{OS_COMMON} = 'WIN32';
75
}
76
 
77
1;
78