Changes between Version 1 and Version 2 of OutputCommandLineOptions
- Timestamp:
- 10/27/08 15:51:15 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
OutputCommandLineOptions
v1 v2 1 1 This is how they behave in LDC at the moment. If you can come up with a more consistent/intuitive setup, please make a ticket. 2 2 3 * ldc -csomefile.d3 * ldc somefile.d 4 4 * output somefile.o 5 * link somefile unless -c 6 7 * ldc somefile.d <ouput switches> 8 * output somefile.* 9 * link somefile if .o is output and not -c 10 11 * ldc somefile.d -of<name> 12 * output name.o 13 * link name 5 14 6 15 * ldc -c somefile.d -of<name>.<ext> 8 17 * if ext is unknown, output name.ext.o object file 9 18 10 * ldc -c somefile.d <ouput switches> 11 * output somefile.* 19 * ldc somefile.d -of<name> <output switches> 20 * output name.* 21 * link name if .o is output 12 22 13 23 * ldc -c somefile.d -of<name>.<ext> <output switches> 15 25 * if ext is unknown, output name.ext.* 16 26 17 * ldc somefile.d18 * output somefile.o19 * link somefile20 21 * ldc somefile.d -of<name>22 * output name.o23 * link name24 25 * ldc somefile.d <ouput switches>26 * output somefile.*27 * link somefile if .o is output28 29 * ldc somefile.d -of<name> <output switches>30 * output name.*31 * link name if .o is output32 27 33 28 TODO: Add cases for multiple source files.