Mercurial > molko
comparison examples/CMakeLists.txt @ 136:30b68089ae70
core: rework actions and a bit of drawables, closes #2492
In the effort of having as less as possible memory allocation in libcore, the
usage of actions and drawable no longer copy the original source parameter to
let user pass a heap allocated variable or a static storage one.
Update predefined drawable and actions to match these new needs.
author | David Demelier <markand@malikania.fr> |
---|---|
date | Tue, 13 Oct 2020 09:38:44 +0200 |
parents | 9301c7c84471 |
children | 4eeeccf2b732 |
comparison
equal
deleted
inserted
replaced
135:eadfed7674ac | 136:30b68089ae70 |
---|---|
15 # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | 15 # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
16 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 16 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
17 # | 17 # |
18 | 18 |
19 project(examples) | 19 project(examples) |
20 | |
21 molko_define_executable( | |
22 TARGET example-action | |
23 SOURCES example-action.c | |
24 FOLDER examples | |
25 ASSETS | |
26 ${examples_SOURCE_DIR}/assets/sprites/chest.png | |
27 ${examples_SOURCE_DIR}/assets/sprites/people.png | |
28 LIBRARIES libcore | |
29 ) | |
20 | 30 |
21 molko_define_executable( | 31 molko_define_executable( |
22 TARGET example-inventory | 32 TARGET example-inventory |
23 SOURCES example-inventory | 33 SOURCES example-inventory |
24 ASSETS | 34 ASSETS |