Changeset 3436 for trunk/tools
- Timestamp:
- Apr 22, 2000, 12:39:32 AM (26 years ago)
- Location:
- trunk/tools/vslick
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/vslick
-
Property svn:ignore
set to
*.ex
-
Property svn:ignore
set to
-
trunk/tools/vslick/genproject.cmd
r2505 r3436 1 /* $Id: genproject.cmd,v 1. 1 2000-01-23 03:33:08bird Exp $1 /* $Id: genproject.cmd,v 1.2 2000-04-21 22:39:32 bird Exp $ 2 2 * 3 3 * This script generates a Visual Slick project of the source and include … … 14 14 parse arg sArg 15 15 16 sIncludes .0 = 0;16 sIncludes = ''; 17 17 sProjFile = ''; 18 18 … … 49 49 if substr(sArg, 1, 1) == '-' | substr(sArg, 1, 1) == '/' then do 50 50 /* option */ 51 sArg = substr(sArg, 2);52 chArg = substr(sArg, 1, 1);51 chArg = substr(sArg, 2, 1); 52 sArg = substr(sArg, 3); 53 53 select 54 54 when chArg = 'I' | chArg = 'i' then do 55 55 sIncludes = sIncludes||sArg; 56 56 end 57 57 … … 61 61 62 62 otherwise do 63 say 'illegal option: ' sArg63 say 'illegal option: 'chArg||sArg 64 64 call syntax; 65 65 end … … 77 77 78 78 say 'Will now generate :' sProjFile 79 sInclude=''; 80 do i = 1 to sIncludes.0 81 if i = 1 then 82 say 'Includes specified:' sIncludes.i 83 else 84 say ' ' sIncludes.i 85 sInclude=sInclude||sIncludes.i||';' 86 end 79 say 'Includes specified:' sIncludes 87 80 88 81 /* delete old target files */ … … 96 89 call lineout sProjFile, 'MACRO=odin32_maketagfile();\n' 97 90 call lineout sProjFile, 'FILTEREXPANSION=1 1 0 0 1' 98 call lineout sProjFile, 'compile=concur|capture|clear|:Compile:&Compile,nmake object\%n.obj'91 call lineout sProjFile, 'compile=concur|capture|clear|:Compile:&Compile,nmake %n.obj' 99 92 call lineout sProjFile, 'make=concur|capture|clear|:Build:&Build,nmake' 100 93 call lineout sProjFile, 'rebuild=concur|capture|clear|:Rebuild:&Rebuild,nmake /A' … … 106 99 call lineout sProjFile, 'workingdir='directory() 107 100 /* TODO */ 108 call lineout sProjFile, 'includedirs='||sInclude ||'%(INCLUDE)'101 call lineout sProjFile, 'includedirs='||sIncludes||'%(INCLUDE)' 109 102 call lineout sProjFile, 'tagfiles=' 110 103 call lineout sProjFile, 'reffile=' … … 198 191 sDir = substr(sDir, i); 199 192 200 sExcludeDir = 'CVS; ';193 sExcludeDir = 'CVS;old;new;object;list;bin;obj;'; 201 194 202 195 /* look for sExt in sIncludeExt */
Note:
See TracChangeset
for help on using the changeset viewer.