Subversion Repositories DevTools

Rev

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

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