NeoSwiff C# Compiler version 1.0.3453
Copyright (C) GlobFX Technologies 2004-2005. All rights reserved.
Options:
- OUTPUT FILES -
/out:
1<file> Output file name (default: base name of file with main
2class or first file)
3/target:swf Build SWF movie (default) (Short form: /t:swf)
4/target:exe Build an exe embedding the SWF movie (Short form: /t:exe
5)
6/target:library Build a library (Short form: /t:library)
7
8\- INPUT FILES -
9/reference:<file list=""> Include the specified libraries (Short form: /r)
10
11\- RESOURCES -
12/resource:<xmlresdesc> Embeds the specified resources (Short form: /res)
13
14\- CODE GENERATION -
15/debug[+|-] Emit debugging information (default: no)
16/optimize[+|-] Enable optimizations (default: yes) (Short form: /o)
17/swf6 Generate code compatible with version older than 6r65
18(default: no)
19
20\- SWF FORMAT -
21/resolution:<w>,<h> Specifies width and height of final movie
22/fps:<fps> Specifies frame rate
23/compress[+|-] Enable compression (default: yes)
24/bgcolor:<r>,<g>,<b> Specifies background RGB color of final movie
25
26\- ERRORS AND WARNINGS -
27/warnaserror[+|-] Treat warnings as errors
28
29\- MISCELLANEOUS -
30/help Display this usage message (Short form: /h or /?)
31/advhelp Display advanced options (Short form: /hh or /??)
32/version:<string> Specifies runtime version number
33
34\- ADVANCED -
35/nostdlib[+|-] Do not reference standard library (corlib.scl)
36/lib:<dirs list=""> Specify additional directories to search in for
37libraries
38
39\- ADVANCED DEBUG OPTIONS -
40/dbg_track_call_stack[+|-] Generate Call Stack
41/dbg_check_invoc_violation[+|-] Check for Invocation Violation
42/dbg_check_access_violation[+|-] Check for Access Violation
43/dbg_check_array_bounds[+|-] Check Array Access Bounds
44/dbg_check_new_array_size[+|-] Check New Array Size
45/dbg_check_cast_exception[+|-] Raise Cast Exceptions
46/dbg_check_division_by_zero[+|-] Check Division By Zero
47
48\- ADVANCED OPTIMIZATION OPTIONS -
49/opt_remove_unused_code[+|-] Remove unused code
50/opt_inline[+|-] Inline methods
51/opt_inline_reloc_args[+|-] Use arguments reloc in inlined calls
52/opt_removed_inlined[+|-] Remove unused inlined methods
53/opt_locvars_as_regs[+|-] Optimize usefull local variables
54/opt_factorize_locvars[+|-] Factorize local variables
55/opt_realloc_regs[+|-] Optimize registers
56/opt_double_nots[+|-] Optimize double nots
57/opt_push_pop[+|-] Optimize push/pop
58/opt_push_push_swap[+|-] Optimize push/push_swap
59/opt_swap_pop_pop[+|-] Optimize swap/pop/pop
60/opt_push_swap_pop[+|-] Optimize push/swap/pop
61/opt_jnz_and_jump[+|-] Optimize jnz/jump
62/opt_jumpjnz_to_jump[+|-] Optimize jumpjnz/jump
63/opt_jump_to_ret[+|-] Optimize jump/ret
64/opt_dup_lnot_jnz_pop[+|-] Optimize dup/lnot/jnz/pop
65/opt_empty_jump[+|-] Optimize empty jump
66/opt_jump_dead_code[+|-] Optimize jump/dead code
67/opt_jump_precode[+|-] Optimize jump pre-code
68/opt_double_rets[+|-] Optimize double rets
69/opt_dup_streg_pop[+|-] Optimize dup/streg/pop
70/opt_streg_pop_push[+|-] Optimize streg/pop/push
71/opt_streg_push[+|-] Optimize streg/push
72/opt_streg_ret[+|-] Optimize streg/ret
73/opt_streg_pop_ppr[+|-] Optimize streg/pop/push/push
74/opt_streg_pop_pop_push[+|-] Optimize streg/pop/pop/push
75/opt_push_streg_pop[+|-] Optimize push/streg/pop
76/opt_push_dup_push[+|-] Optimize push/dup/push
77/opt_push_val_oper[+|-] Optimize push/val/oper
78/opt_push_oper[+|-] Optimize push/oper
79/opt_push_push_oper[+|-] Optimize push/push/oper
80/opt_oper_pop[+|-] Optimize oper/pop
81/opt_ctors_preinit[+|-] Optimize ctors pre-init
82
83编译方法基本跟csc一样,特别注意的是/resource:,它是通过一个xml定义内嵌字体、声音、swf及视频资源
84格式如下:
85
86<embed/>
87<font bold="false" chars="32-255" italic="false" name="Arial"></font>
88<font bold="true" chars="32-255" italic="false" name="Arial"></font>
89<jpegimage name="Header" quality="90" relpath="E:\csharp\NeoSwiff for VS.NET 2003\samples\RssReader\images\Header.png"></jpegimage>
90<jpegimage name="ItemHighlight" quality="90" relpath="E:\csharp\NeoSwiff for VS.NET 2003\samples\RssReader\images\ItemHighlight.png"></jpegimage>
91<jpegimage name="LightItem" quality="90" relpath="E:\csharp\NeoSwiff for VS.NET 2003\samples\RssReader\images\LightItem.png"></jpegimage>
92<jpegimage name="Options" quality="90" relpath="E:\csharp\NeoSwiff for VS.NET 2003\samples\RssReader\images\Options.png"></jpegimage>
93<jpegimage name="Options2" quality="90" relpath="E:\csharp\NeoSwiff for VS.NET 2003\samples\RssReader\images\Options2.png"></jpegimage>
94<jpegimage name="Shield" quality="90" relpath="E:\csharp\NeoSwiff for VS.NET 2003\samples\RssReader\images\Shield.png"></jpegimage>
95</dirs></string></b></g></r></fps></h></w></xmlresdesc></file></file>