Subversion Repositories DevTools

Rev

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

Rev Author Line No. Line
6133 dpurdie 1
###############################################################################
6177 dpurdie 2
# COPYRIGHT - VIX IP PTY LTD ("VIX"). ALL RIGHTS RESERVED.
6133 dpurdie 3
#
4
# File:         PLATFORM/CSHARP2015.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 CSHARP2015_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: CSHARP2015 can use stuff from CSHARP and WIN32, but only if the
46
    #                 CSHARP2015 stuff is not available.
47
    $pInfo->{ALSO_USES} = ['VS2015',
48
                           'CSHARP2012', 'VS2012',
49
                           'CSHARP2010', 'VS2010',
50
                           'CSHARP2008', 'VS2008',
51
                           'CSHARP2005', 'VS2005' ,
52
                           'CSHARP'    , 'WIN32'];
53
 
54
    #
55
    #   EXT_SHARED
56
    #   Set to the value of the shared library extension
57
    #
58
    #   Intended Use
59
    #   Used to locate shared libraries in packgages for use in the
60
    #   generation set_<PLATFORM>.sh/.bat
61
    #
62
    #   If not set then the set_.sh files will no be created
63
    #
64
    $pInfo->{EXT_SHARED} = '.dll';
65
 
66
    #
67
    #   OS_COMMON
68
    #   Set the name of a directory to be used to package header files to be
69
    #   used on targets that share a common OS
70
    #
71
    #   Note: Should also be a part of EXTRA_USES
72
    #
73
    #   Intended Use
74
    #   Extend the operation of the PackageHdr directive to allow files
75
    #   common files to be packaged
76
    #
77
    $pInfo->{OS_COMMON} = 'WIN32';
78
}
79
 
80
1;
81