Mercurial > molko
comparison examples/CMakeLists.txt @ 203:d3ef968745f5
core: rework audio API
- sound: module to play sounds (several at once),
- music: loopable music that can only be played one at once.
author | David Demelier <markand@malikania.fr> |
---|---|
date | Mon, 09 Nov 2020 21:18:41 +0100 |
parents | 4ad7420ab678 |
children | 23a844fdc911 |
comparison
equal
deleted
inserted
replaced
202:baf7e6575181 | 203:d3ef968745f5 |
---|---|
54 ${examples_SOURCE_DIR}/assets/sprites/numbers.png | 54 ${examples_SOURCE_DIR}/assets/sprites/numbers.png |
55 LIBRARIES libui | 55 LIBRARIES libui |
56 ) | 56 ) |
57 | 57 |
58 molko_define_executable( | 58 molko_define_executable( |
59 TARGET example-audio | |
60 SOURCES example-audio.c | |
61 FOLDER examples | |
62 ASSETS | |
63 ${examples_SOURCE_DIR}/assets/musics/vabsounds-romance.ogg | |
64 ${examples_SOURCE_DIR}/assets/sounds/fire.wav | |
65 LIBRARIES libui | |
66 ) | |
67 | |
68 molko_define_executable( | |
59 TARGET example-cursor | 69 TARGET example-cursor |
60 SOURCES example-cursor.c | 70 SOURCES example-cursor.c |
61 FOLDER examples | 71 FOLDER examples |
62 LIBRARIES libui | 72 LIBRARIES libui |
63 ) | 73 ) |
86 molko_define_executable( | 96 molko_define_executable( |
87 TARGET example-message | 97 TARGET example-message |
88 SOURCES example-message.c | 98 SOURCES example-message.c |
89 FOLDER examples | 99 FOLDER examples |
90 LIBRARIES librpg | 100 LIBRARIES librpg |
91 ) | |
92 | |
93 molko_define_executable( | |
94 TARGET example-sound | |
95 SOURCES example-sound.c | |
96 FOLDER examples | |
97 ASSETS | |
98 ${examples_SOURCE_DIR}/assets/sounds/vabsounds-romance.ogg | |
99 LIBRARIES libui | |
100 ) | 101 ) |
101 | 102 |
102 molko_define_executable( | 103 molko_define_executable( |
103 TARGET example-sprite | 104 TARGET example-sprite |
104 SOURCES example-sprite.c | 105 SOURCES example-sprite.c |