Changeset 9382 for trunk/tools


Ignore:
Timestamp:
Nov 3, 2002, 1:30:23 AM (23 years ago)
Author:
bird
Message:

Added Doxygen.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/bin/buildenv.cmd

    r9381 r9382  
    1 /* $Id: buildenv.cmd,v 1.37 2002-11-01 19:40:59 bird Exp $
     1/* $Id: buildenv.cmd,v 1.38 2002-11-03 00:30:23 bird Exp $
    22 *
    33 * This is the master tools environment script. It contains environment
     
    2727     * Version
    2828     */
    29     sVersion = '1.0.10 [2002-11-01]';
     29    sVersion = '1.0.11 [2002-11-02]';
    3030
    3131    /*
     
    110110    aCfg.i.sId = 'ddkbase';         aCfg.i.sGrp = 'ddk';        aCfg.i.sSet = 'DDKBase';                aCfg.i.sDesc = 'DDK Base (recent)';         i = i + 1;
    111111    aCfg.i.sId = 'ddkvideo';        aCfg.i.sGrp = 'ddk';        aCfg.i.sSet = 'DDKVideo';               aCfg.i.sDesc = 'DDK Video (recent)';        i = i + 1;
     112    aCfg.i.sId = 'doxygen';         aCfg.i.sGrp = 'doc';        aCfg.i.sSet = 'DoxyGen';                aCfg.i.sDesc = 'Doxygen v1.2.11 for OS/2';        i = i + 1;
    112113    aCfg.i.sId = 'emx';             aCfg.i.sGrp = 'comp32';     aCfg.i.sSet = 'EMX';                    aCfg.i.sDesc = 'EMX v0.9d fixpack 04';      i = i + 1;
    113114    aCfg.i.sId = 'emxpgcc';         aCfg.i.sGrp = 'comp32';     aCfg.i.sSet = 'EMXPGCC';                aCfg.i.sDesc = 'Pentium Optimized GCC/EMX v1.1.1 r2 with binutils 2.9.1'; i = i + 1;
     
    847848        aPath.i.sPId = 'ddkbase';                   aPath.i.sPath = 'f:\ddk\april02\base';          i = i + 1;
    848849        aPath.i.sPId = 'ddkvideo';                  aPath.i.sPath = 'f:\ddk\april02\video';         i = i + 1;
     850        aPath.i.sPId = 'doxygen';                   aPath.i.sPath = 'f:\doxygen\v1.2.11-OS2';       i = i + 1;
    849851        aPath.i.sPId = 'home';                      aPath.i.sPath = 'e:\user\kso';                  i = i + 1;
    850852        aPath.i.sPId = 'mscv6-16';                  aPath.i.sPath = 'f:\ddktools\toolkits\msc60';   i = i + 1;
     
    19031905
    19041906/*
    1905  * EMX/GCC 3.0.x - this environment must be use 'on' the ordinary EMX.
     1907 * Doxygen v1.2.11.1 for OS/2.
     1908 */
     1909DoxyGen: procedure expose aCfg. aPath. sPathFile
     1910    parse arg sToolId,sOperation,fRM,fQuiet
     1911
     1912    /*
     1913     * Get base directory.
     1914     */
     1915    sPathDoxyGen   = PathQuery('doxygen', sToolId, sOperation);
     1916    if (sPathDoxyGen = '') then
     1917        return 1;
     1918    /* If config operation we're done now. */
     1919    if (pos('config', sOperation) > 0) then
     1920        return 0;
     1921    call EnvSet      fRM, 'PATH_DOXYGEN',sPathDoxyGen;
     1922    call EnvAddFront fRM, 'path',        sPathDoxyGen'\bin;'
     1923
     1924    /*
     1925     * Verify.
     1926     */
     1927    if (pos('verify', sOperation) <= 0) then
     1928        return 0;
     1929    if (    \CfgVerifyFile(sPathDoxyGen'\bin\dot.exe', fQuiet),
     1930        |   \CfgVerifyFile(sPathDoxyGen'\bin\doxygen.exe', fQuiet),
     1931        ) then
     1932        return 2;
     1933    rc = CheckCmdOutput('doxygen', 1, fQuiet, 'Doxygen version 1.2.11.1');
     1934return rc;
     1935
     1936
     1937/*
     1938 * EMX/GCC 3.0.x - this environment must be used 'on' the ordinary EMX.
    19061939 * Note! bin.new has been renamed to bin!
    19071940 * Note! make .lib of every .a! in 4OS2: for /R %i in (*.a) do if not exist %@NAME[%i].lib emxomf %i
Note: See TracChangeset for help on using the changeset viewer.