Changeset 9024 for trunk/tools
- Timestamp:
- Aug 18, 2002, 3:29:20 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/bin/buildenv.cmd
r8744 r9024 1 /* $Id: buildenv.cmd,v 1.1 3 2002-06-22 15:46:59bird Exp $1 /* $Id: buildenv.cmd,v 1.14 2002-08-18 13:29:20 bird Exp $ 2 2 * 3 3 * This is the master tools environment script. It contains environment … … 14 14 * - Same goes for some other stuff, we have no stack of previous values. 15 15 */ 16 16 17 17 Address CMD '@echo off'; 18 18 19 19 signal on novalue name NoValueHandler 20 20 21 /* 22 * Version 23 */ 24 sVersion = '1.0.1 [2002-08-18]'; 25 21 26 /* 22 27 * Create argument array with lowercase arguments. … … 31 36 sEnv.0 = i - 1; 32 37 38 /* 39 * Syntax 40 */ 41 if (sEnv.0 = 0) then 42 do 43 say 'BuildEnv v'||sVersion 44 say '-------------------------------' 45 say '' 46 say 'Synopsis: Environment configuration utility written to maintain' 47 say 'many different versions of compilers and toolkits on the same' 48 say 'workstation. ' 49 say '' 50 say 'Syntax: BuildEnv.cmd <environments>[action]' 51 say '' 52 say 'Actions:' 53 say ' + Install tools in environment. Default action.' 54 say ' - Remove tools from environment.' 55 say ' * Configure tool if needed.' 56 say ' ! Forced tool configuretion.' 57 say ' @ Verify tool configuration.' 58 say ' ? Query if a tool is configured.' 59 say '' 60 say 'Special environments (commands):' 61 say ' allconfig Configure all tools which fails verify.' 62 say ' allreconfig Reconfigure all tools.' 63 say ' allverify Verify all configured tools.' 64 say ' alluninstall Removed all configured tools from environment.' 65 say ' showall Show all tools.' 66 say ' showconfigured Show all configured tools.' 67 say ' shownotconfigured Show all tools which isn''t configured.' 68 say '' 69 say 'Copyright (c) 1999-2002 knut st. osmundsen' 70 say 'Published under GPL v2' 71 return 8; 72 end 33 73 34 74 /* … … 132 172 * Multi tool operations. 133 173 */ 134 when (sEnv.i = 'allconfig') then do135 do j = 1 to aCfg.0136 rc = CfgConfigure(j, 0);137 if (rc >= 8) then138 exit(rc);139 end140 end141 142 174 when (sEnv.i = 'allconfig') then do 143 175 do j = 1 to aCfg.0 … … 2229 2261 return rc; 2230 2262 2263 2231 2264 2232 2265 /*
Note:
See TracChangeset
for help on using the changeset viewer.