package.xs

来自「TI Algorithm Soft Kit 5.10 仅包括实例及其原代码」· XS 代码 · 共 48 行

XS
48
字号
/* *  Copyright 2006 by Texas Instruments Incorporated. * *  All rights reserved. Property of Texas Instruments Incorporated. *  Restricted rights to use, duplicate or disclose this code are *  granted through contract. * *//* *  ======== package.xs ======== *    Implementation of the xdc.IPackage interface. *//* *  ======== getLibs ======== *  Determine the name of the library to use, based on the program *  configuration (prog). */function getLibs(prog){    var name = "";    /*     * Note that this package demonstrates several different ways to     * build, including CCS projects, GNU makefiles and XDC Builds.     * The location of the libraries, however are always in the same place.     * As a result, this getLibs function is relatively simple.     */    if (this.profile == "debug") {        /* "mangle" program build attrs into an appropriate directory name */        name = "lib/debug/viddec1_copy.a" + prog.build.target.suffix;    }    else {        name = "lib/viddec1_copy.a" + prog.build.target.suffix;    }    /* and dump a helpful breadcrumb */    print("    will link with " + this.$name + ":" + name);    return (name);}/* *  @(#) ti.xdais.dm.examples.viddec1_copy; 1,0,0,7; 10-18-2006 19:12:25; /db/wtree/library/trees/dais-g07x/src/ */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?