Subversion Repositories DevTools

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
4814 dpurdie 1
###############################################################################
2
# Copyright (c) VIX TECHNOLOGY (AUST) LTD
3
#
4
# File:         PLATFORM/VS2012_X64.CFG
5
#
6
# Contents:     VS2012_X64 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 VS2012_X64_Build;
19
 
20
#-------------------------------------------------------------------------------
21
# Function        : add_platform
22
#
23
# Description     : This function is invoked just before a 'platform' is about
24
#                   to be added to the build system.
25
#
26
#                   This call is allowed to alter or extend the platform build
27
#                   information.
28
#
29
# Inputs          : $pInfo          - Reference to the platform build info hash
30
#
31
# Returns         : Nothing yet
32
#
33
sub add_platform
34
{
35
    my $class = shift;              # Not really a class, but its called like a class
36
    my $pInfo  = shift;
37
 
38
    #   ALSO_USES
39
    #   An array of other platforms that may be 'used' by this platform.
40
    #   The process is not recursive
41
    #   Similar to the --Uses option in BuildPlatforms()
42
    #   Will be subject to product expansion.
43
    #
44
    #   Intended use: VS2012 can use stuff from XXX, but only if the
45
    #                 XXX stuff is not available.
46
    ## $pInfo->{ALSO_USES} = [ ];
47
 
48
    #
4996 dpurdie 49
    #   EXTRA_USES
50
    #   An array of other platforms to be 'used' by this platform.
51
    #   This list is not expanded in a PRODUCT as the ALSO_USES list is.
52
    #
53
    #   Should include OSCOMMON
54
    #
55
    #   Intended use: Allow stuff from other diretories to be include
56
    #                 Like OSCOMMON
57
    #
58
    $pInfo->{EXTRA_USES} = ['WIN64'];
59
 
60
    #
4814 dpurdie 61
    #   EXT_SHARED
62
    #   Set to the value of the shared library extension
63
    #
64
    #   Intended Use
65
    #   Used to locate shared libraries in packgages for use in the
66
    #   generation set_<PLATFORM>.sh/.bat
67
    #
68
    #   If not set then the set_.sh files will no be created
69
    #
70
    $pInfo->{EXT_SHARED} = '.dll';
71
 
72
    #
73
    #   OS_COMMON
74
    #   Set the name of a directory to be used to package header files to be
75
    #   used on targets that share a common OS
76
    #
77
    #   Note: Should also be a part of EXTRA_USES
78
    #
79
    #   Intended Use
80
    #   Extend the operation of the PackageHdr directive to allow files
81
    #   common files to be packaged
82
    #
83
    $pInfo->{OS_COMMON} = 'WIN64';
5969 dpurdie 84
 
85
    #
86
    #   MSBUILDPROPS
87
    #   Indicates that this target is elegable to generate a MSBUILD properties page
88
    #   Intended to give JATS a hint to allow the BuildPropertyPages() directive to
89
    #   work.
90
    #
91
    $pInfo->{MSBUILDPROPS} = 1;
4814 dpurdie 92
}
93
 
94
1;
95