2 # Build time configuration of libpng
5 # Copyright: (c) John Bowler, 2013
7 # To the extent possible under law, the author has waived all copyright and
8 # related or neighboring rights to this work. This work is published from:
11 # Build libpng with (just) simplified write support
16 option SIMPLIFIED_WRITE on
18 # It isn't necessary to chose fixed or floating point for the APIs because the
19 # simplified API doesn't need fixed or floating point numbers. It is necessary
20 # to chose an internal math implementation. The default (because of 'everything
21 # = off') is fixed point - turn the floating point implementation on if you have
22 # hardware floating point or prefer your software floating point implementation.
23 option FLOATING_ARITHMETIC on
25 # This is not strictly necessary, but without it the message strings in the API
26 # will not be filled in
29 # Switching these options on enables the 'AFIRST' and 'BGR' formats - you don't
30 # need this if you don't use them, they just allow the in-memory layout to be
31 # changed to match common hardware formats.
32 option SIMPLIFIED_WRITE_AFIRST on
33 option SIMPLIFIED_WRITE_BGR on