Changeset 753
- Timestamp:
- 08/09/07 22:45:45 (1 year ago)
- Files:
-
- trunk/docs/README.software_engineers (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/docs/README.software_engineers
r752 r753 208 208 209 209 The -ll flag is only useful for explicitly linking libraries into binaries. If 210 your library depends on a non-DSSS library, you must list that dependency in a 211 .d file which is part of your library. This is done with the 'link' pragma, 212 which must always be specified within version(build): 210 the DSSS-implemented library depends on a non-DSSS library, the dependency must 211 be specified in a .d file which is part of the DSSS-implemented library. This 212 is done with the 'link' pragma, which must always be specified within 213 version(build): 213 214 version (build) { 214 215 pragma(link, "example"); 215 216 } 216 217 217 The above example will cause any binary linked against your library to link 218 against the library named libexample.a (or example.lib on Windows). 218 The above example will cause any binary linked against the DSSS-implemented 219 library to link against the library named libexample.a (or example.lib on 220 Windows). 219 221 220 222 … … 258 260 prebuild = cd c_source ; make 259 261 260 You do not needto return to the original directory after 'cd'ing. The262 It is unnecessary to return to the original directory after 'cd'ing. The 261 263 directory will be restored after the hook commands have finished. 262 264 … … 432 434 433 435 Sections creating libraries from directories will normally include all the .d 434 files in that directory or any subdirectory of it. You may also specify435 s ubdirectories explicitly in dsss.conf, which will cause some .d files to be436 reassigned. For example, if you have these files:436 files in that directory or any subdirectory of it. It is also possible to 437 specify subdirectories explicitly in dsss.conf, which will cause some .d files 438 to be reassigned. For example, if you have these files: 437 439 dzip/algorithm.d, foo/compression/zip.d 438 440 and a section:
