Mercurial > hg > dmlib
annotate config.mak.in @ 421:f18f07d8a731
Fix building with libpng.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 03 Nov 2012 07:54:23 +0200 |
parents | 2a22b0f1a469 |
children | 14640d0688d3 |
rev | line source |
---|---|
2
9a8355b47e1c
Various improvements in the build system to add granularity
Matti Hamalainen <ccr@tnsp.org>
parents:
0
diff
changeset
|
1 # Build engine tests and tools? (Please notice that what |
9a8355b47e1c
Various improvements in the build system to add granularity
Matti Hamalainen <ccr@tnsp.org>
parents:
0
diff
changeset
|
2 # actually gets built it also affected by other options) |
344 | 3 DM_BUILD_TESTS=yes |
2
9a8355b47e1c
Various improvements in the build system to add granularity
Matti Hamalainen <ccr@tnsp.org>
parents:
0
diff
changeset
|
4 DM_BUILD_TOOLS=yes |
9a8355b47e1c
Various improvements in the build system to add granularity
Matti Hamalainen <ccr@tnsp.org>
parents:
0
diff
changeset
|
5 |
421 | 6 # Use libpng? Required for PNG read/write support in some tools. |
7 # NOTICE!!!! _NOT_ required for simple PNG read support via dmimage, | |
8 # that is implemented via modified stb_image.c's PNG loader. | |
9 DM_USE_LIBPNG=yes | |
10 | |
356 | 11 # Build Qt based demo editor? |
344 | 12 DM_BUILD_EDITOR=yes |
127
ab4086db7dad
Various improvements in modularity.
Matti Hamalainen <ccr@tnsp.org>
parents:
124
diff
changeset
|
13 |
0 | 14 # Build with runtime asserts? |
15 DM_USE_ASSERTS=yes | |
16 | |
17 # Use plain C routines? | |
18 DM_USE_C=yes | |
19 | |
20 # Use MMX/SSE SIMD assembler routines? | |
21 DM_USE_SIMD=yes | |
22 | |
23 | |
321
4cc21ebab650
Update example config.mak template.
Matti Hamalainen <ccr@tnsp.org>
parents:
127
diff
changeset
|
24 DM_USE_PACKFS=yes |
4cc21ebab650
Update example config.mak template.
Matti Hamalainen <ccr@tnsp.org>
parents:
127
diff
changeset
|
25 DM_USE_STDIO=yes |
4cc21ebab650
Update example config.mak template.
Matti Hamalainen <ccr@tnsp.org>
parents:
127
diff
changeset
|
26 DM_USE_MEMIO=yes |
0 | 27 |
28 | |
63
3d9da937db69
More work on the text support.
Matti Hamalainen <ccr@tnsp.org>
parents:
49
diff
changeset
|
29 DM_GFX_BM_TEXT=yes |
0 | 30 DM_GFX_TTF_TEXT=yes |
321
4cc21ebab650
Update example config.mak template.
Matti Hamalainen <ccr@tnsp.org>
parents:
127
diff
changeset
|
31 DM_GFX_LINES=yes |
0 | 32 DM_GFX_BLITS=yes |
33 DM_GFX_MISC=yes | |
34 | |
35 DM_GFX_8BIT=yes | |
36 DM_GFX_32BIT=yes | |
37 | |
38 | |
39 ### | |
40 ### General build options for miniJSS | |
41 ### | |
42 JSS=yes | |
43 | |
44 # Build a special "light"/minimized version by removing all | |
45 # error messages and few other things. | |
46 JSS_LIGHT=no | |
47 | |
48 # Build with extra debugging code? (disabled by JSS_LIGHT=yes) | |
344 | 49 JSS_DEBUG=no |
0 | 50 |
51 | |
52 ### Support loading of XM-format module files | |
53 JSS_SUP_XM=yes | |
54 | |
55 | |
56 ### Generic support of JSSMOD-format modules | |
57 JSS_SUP_JSSMOD=yes | |
58 | |
59 # Enable support for different pattern storage modes | |
60 # in the JSSMOD _loader_. Saving in xm2jss is not affected. | |
61 JSSMOD_FLAGS = -DJM_SUP_PATMODE_ALL | |
62 | |
63 # If SUP_PATMODE_ALL is not defined, then you can enable modes individually | |
64 # by uncommenting lines below. Refer to 'xm2jss --help' for mode information. | |
65 #JSSMOD_FLAGS += -DJM_SUP_PATMODE_1 | |
66 #JSSMOD_FLAGS += -DJM_SUP_PATMODE_2 | |
67 #JSSMOD_FLAGS += -DJM_SUP_PATMODE_3 | |
68 #JSSMOD_FLAGS += -DJM_SUP_PATMODE_4 | |
69 #JSSMOD_FLAGS += -DJM_SUP_PATMODE_5 | |
70 | |
71 # Enable ext. instrument, instrument header and sampledata loading: | |
72 # (if you disable these, you better know what you are doing.) | |
73 JSSMOD_FLAGS += -DJM_SUP_EXT_INSTR | |
74 JSSMOD_FLAGS += -DJM_SUP_INSTR | |
75 JSSMOD_FLAGS += -DJM_SUP_SAMPLES | |
76 | |
77 | |
78 ### | |
79 ### Locking/thread support | |
80 ### | |
81 JSS_SUP_THREADS=yes | |
344 | 82 |