package.bld

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

BLD
68
字号
/* *  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.bld ======== *  Build script for this package. *//* If you don't want to redistribute your sources, set this to false. */Pkg.attrs.exportSrc = true;/* * Array of files to include in the release.  Libraries must be explicitly * listed when you don't use the XDC Build.  This list is likely files to be * included in all releases. */Pkg.otherFiles = [    "imgenc1_copy_ti.h",  /* public header. */    "lib",                /* release the contents of all the "lib" directory. */    "readme.txt"          /* any release notes or docs can be added here. */];/* *  Optionally, you may also want to redistribute these source files, *  depending on your customer and delivery scenarios. */Pkg.otherFiles.$add("pjt/imgenc1_copy.pjt");    /* CCS project file */Pkg.otherFiles.$add("package.bld");             /* XDC build script */Pkg.otherFiles.$add("imgenc1_copy_ti_priv.h");  /* Internal interface header *//* Set this to false if you build with .pjts or other build tooling */xdcBuild = true;if (xdcBuild) {    /*     * Create an array containing the files to include in this     * package.  Note that the extension is added by XDC, so it need     * not be explicitly specified.     */    var SRCS = ["imgenc1_copy"];    for (var i = 0; i < Build.targets.length; i++) {        var targ = Build.targets[i];        print("building for target " + targ.name + " ...");        /*         * Add a debug and release library to this package, built from the         * files described in SRCS[].         */        Pkg.addLibrary("lib/imgenc1_copy", targ).addObjects(SRCS);        Pkg.addLibrary("lib/debug/imgenc1_copy", targ, {            profile: "debug"        }).addObjects(SRCS);    }}/* *  @(#) ti.xdais.dm.examples.imgenc1_copy; 1,0,0,7; 10-18-2006 19:12:08; /db/wtree/library/trees/dais-g07x/src/ */

⌨️ 快捷键说明

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