Changeset 771
- Timestamp:
- 08/15/07 21:22:33 (1 year ago)
- Files:
-
- trunk/docs/ChangeLog (modified) (1 diff)
- trunk/docs/README.use (modified) (1 diff)
- trunk/docs/html/README.software_engineers.html (modified) (2 diffs)
- trunk/docs/html/README.use.html (modified) (1 diff)
- trunk/sss/conf.d (modified) (1 diff)
- trunk/sss/main.d (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/docs/ChangeLog
r769 r771 15 15 #109). 16 16 - Added --debug option (see ticket #108). 17 - Added .dsssrc support (see ticket #120). 17 18 18 19 0.70 from 0.69: trunk/docs/README.use
r750 r771 32 32 the source directory as it was before DSSS was used at all, with the command: 33 33 $ dsss distclean 34 35 If you'd like certain flags to be included whenever you call DSSS, you can add 36 them to your DSSS RC file: ~/.dsssrc on POSIX, dsss.rc next to dsss.exe on 37 Windows. 34 38 35 39 trunk/docs/html/README.software_engineers.html
r761 r771 98 98 buildflags=-O 99 99 100 Flags for use with release and debug builds (when using --debug) can be 101 specified separately in 'releaseflags' and 'debugflags', respectively. 102 'debugflags' defaults to '-debug -gc'. 103 100 104 <h3> SECTION TYPES </h3> 101 105 … … 409 413 buildflags=-O 410 414 415 Note that any settings in a named section will override those in "*" sections. 416 For example, in this situation: 417 418 [*] 419 buildflags=-O 420 421 [mydlib] 422 buildflags+=-release 423 424 mydlib's buildflags are only "-release". 425 411 426 412 427 <h2> ADVANCED FEATURES </h2> trunk/docs/html/README.use.html
r750 r771 33 33 the source directory as it was before DSSS was used at all, with the command: 34 34 $ dsss distclean 35 36 If you'd like certain flags to be included whenever you call DSSS, you can add 37 them to your DSSS RC file: ~/.dsssrc on POSIX, dsss.rc next to dsss.exe on 38 Windows. 35 39 36 40 trunk/sss/conf.d
r769 r771 1246 1246 return ret; 1247 1247 } 1248 1249 /** Read .dsssrc file */ 1250 char[][] readDSSSRC() 1251 { 1252 char[] dsssrc; 1253 1254 version (Windows) { 1255 // on Windows, just look in bindir 1256 char[] bindir, binname; 1257 if (whereAmI("dsss", bindir, binname)) { 1258 if (exists(bindir ~ "\\dsss.rc")) { 1259 dsssrc = cast(char[]) std.file.read(bindir ~ "\\dsss.rc"); 1260 } 1261 } 1262 1263 } else { 1264 char[] home = getEnvVar("HOME"); 1265 if (exists(home ~ "/.dsssrc")) { 1266 dsssrc = cast(char[]) std.file.read(home ~ "/.dsssrc"); 1267 } 1268 1269 } 1270 1271 // now split it up 1272 char[][] rcsplit = split(dsssrc); 1273 char[][] ret; 1274 foreach (se; rcsplit) { 1275 if (se != "") { 1276 ret ~= se; 1277 } 1278 } 1279 return ret; 1280 } trunk/sss/main.d
r769 r771 78 78 79 79 char[] val; 80 81 // Now load in dsssrc 82 args ~= readDSSSRC(); 80 83 81 84 for (int i = 1; i < args.length; i++) {
