Changes between Version 21 and Version 22 of Development/Testing


Ignore:
Timestamp:
Dec 5, 2012, 6:38:53 AM (7 years ago)
Author:
benl
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Development/Testing

    v21 v22  
    2323
    2424[[br]]
    25 
    26 == Demos ==
    27 
    28 The programs in `test/93-Graphics` can open up X windows and display pretty pictures. When run with no arguments they dump their final frame as a PPM image to stdout. When run with "-x" they open up an X window an display the animation in real-time.
    29 
    30 {{{
    31 $ bin/war test/93-Graphics +compway opt -O
    32 $ test/93-Graphics/Styrene/Main.bin -x
    33 }}}
    34 
    35 You can also compile and run demos individually with something like:
    36 
    37 {{{
    38 $ bin/ddc -O -make demo/Graphics/Styrene/Main.ds -o styrene
    39 $ ./styrene -x
    40 }}}
    41 
    42 Note that DDC's {{{-make}}} flag will rebuild any module needed by the program being compiled, including modules in the base libraries. This can be useful when working on the libraries, or on DDC's {{{-make}}} support.
    43 
    44 For example, we can clean out all the binaries in the {{{library}}} and {{{demo}}} directories with:
    45 
    46 {{{
    47 $ make cleanLibrary
    48 }}}
    49 
    50 We can then rebuild the whole {{{styrene}}} program with:
    51 {{{
    52 $ bin/ddc -O -make demo/Graphics/Styrene/Main.ds -o styrene
    53 }}}
    54