Subversion Repositories DevTools

Rev

Rev 5969 | Blame | Compare with Previous | Last modification | View Log | RSS feed

###############################################################################
# COPYRIGHT - VIX IP PTY LTD ("VIX"). ALL RIGHTS RESERVED.
#
# File:         PLATFORM/VS2012_X64.CFG
#
# Contents:     VS2012_X64 Build support
#
#               This package is used during the processing of the build.pl file
#               Values provided by this package are used to extend the Platform
#               information as platforms are being created. This provides a
#               powerful set of mechanism to extend the entire JATS toolset
#
###############################################################################

use strict;
use warnings;

package VS2012_X64_Build;

#-------------------------------------------------------------------------------
# Function        : add_platform
#
# Description     : This function is invoked just before a 'platform' is about
#                   to be added to the build system.
#
#                   This call is allowed to alter or extend the platform build
#                   information.
#
# Inputs          : $pInfo          - Reference to the platform build info hash
#
# Returns         : Nothing yet
#
sub add_platform
{
    my $class = shift;              # Not really a class, but its called like a class
    my $pInfo  = shift;

    #   ALSO_USES
    #   An array of other platforms that may be 'used' by this platform.
    #   The process is not recursive
    #   Similar to the --Uses option in BuildPlatforms()
    #   Will be subject to product expansion.
    #
    #   Intended use: VS2012 can use stuff from XXX, but only if the
    #                 XXX stuff is not available.
    ## $pInfo->{ALSO_USES} = [ ];

    #
    #   EXTRA_USES
    #   An array of other platforms to be 'used' by this platform.
    #   This list is not expanded in a PRODUCT as the ALSO_USES list is.
    #
    #   Should include OSCOMMON
    #
    #   Intended use: Allow stuff from other diretories to be include
    #                 Like OSCOMMON
    #
    $pInfo->{EXTRA_USES} = ['WIN64'];

    #
    #   EXT_SHARED
    #   Set to the value of the shared library extension
    #
    #   Intended Use
    #   Used to locate shared libraries in packgages for use in the
    #   generation set_<PLATFORM>.sh/.bat
    #
    #   If not set then the set_.sh files will no be created
    #
    $pInfo->{EXT_SHARED} = '.dll';

    #
    #   OS_COMMON
    #   Set the name of a directory to be used to package header files to be
    #   used on targets that share a common OS
    #
    #   Note: Should also be a part of EXTRA_USES
    #
    #   Intended Use
    #   Extend the operation of the PackageHdr directive to allow files
    #   common files to be packaged
    #
    $pInfo->{OS_COMMON} = 'WIN64';

    #
    #   MSBUILDPROPS
    #   Indicates that this target is elegable to generate a MSBUILD properties page
    #   Intended to give JATS a hint to allow the BuildPropertyPages() directive to
    #   work.
    #
    $pInfo->{MSBUILDPROPS} = 1;
}
    
1;