Changeset 807
- Timestamp:
- 09/17/07 12:36:47 (1 year ago)
- Files:
-
- trunk/docs/ChangeLog (modified) (1 diff)
- trunk/docs/README.software_engineers (modified) (1 diff)
- trunk/sss/conf.d (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/docs/ChangeLog
r802 r807 8 8 ticket #128). 9 9 - installdir hook command now manifests properly. 10 - 'include' setting, counter to 'exclude' (see ticket #111). 10 11 11 12 0.72 from 0.71: trunk/docs/README.software_engineers
r775 r807 153 153 section. 154 154 155 You may also explicitly include files in a library with the 'include' setting: 156 [mydpackage] 157 include=mydpackage/all.d 158 159 Note that, if 'include' is found, only those files listed in 'include' and 160 their dependencies will be included. 161 155 162 When using GDC on POSIX, it is also possible to build shared libraries (.so 156 163 files). To specify that a shared library should be built, set the 'shared' trunk/sss/conf.d
r802 r807 768 768 return false; 769 769 } 770 771 // and inclusion list 772 char[][] include; 773 if ("include" in settings) { 774 // get the dependencies 775 files = split(settings["include"]); 776 char[][] rawFiles; 777 systemResponse(dsss_build ~ "-files -offiles.tmp " ~ settings["include"], 778 "-rf", "temp.rf", true); 779 rawFiles = split(cast(char[]) std.file.read("files.tmp")); 780 foreach (f; rawFiles) { 781 while (f.length && 782 (f[$-1] == '\r' || 783 f[$-1] == '\n')) { 784 f = f[0..$-1]; 785 } 786 if (f.length && f[$-1] != 'i' && f[$-1] != 'I') { 787 // the file exists and is not a .di file, so it's part of this build 788 files ~= f; 789 } 790 } 791 tryRemove("files.tmp"); 792 793 // done! 794 return files; 795 } 770 796 771 797 // 2) stomp through the directory adding files
