⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 package.xs

📁 TI Algorithm Soft Kit 5.10 仅包括实例及其原代码
💻 XS
字号:
/* *  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/videnc1_copy.a" + prog.build.target.suffix;    }    else {        name = "lib/videnc1_copy.a" + prog.build.target.suffix;    }    /* and dump a helpful breadcrumb */    print("    will link with " + this.$name + ":" + name);    return (name);}/* *  @(#) ti.xdais.dm.examples.videnc1_copy; 1,0,0,7; 10-18-2006 19:12:30; /db/wtree/library/trees/dais-g07x/src/ */

⌨️ 快捷键说明

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