comparison tests/CMakeLists.txt @ 124:7b84764741b6

core: allows loading maps from memory, closes #2489
author David Demelier <markand@malikania.fr>
date Mon, 05 Oct 2020 16:24:37 +0200
parents b3429b26d60d
children 30b68089ae70
comparison
equal deleted inserted replaced
123:2cbea8172926 124:7b84764741b6
19 project(tests) 19 project(tests)
20 20
21 molko_define_test(TARGET color SOURCES test-color.c) 21 molko_define_test(TARGET color SOURCES test-color.c)
22 molko_define_test(TARGET error SOURCES test-error.c) 22 molko_define_test(TARGET error SOURCES test-error.c)
23 molko_define_test(TARGET inventory SOURCES test-inventory.c) 23 molko_define_test(TARGET inventory SOURCES test-inventory.c)
24 # 24 molko_define_test(
25 # Maps will be revamped. 25 TARGET map
26 # molko_define_test(TARGET map SOURCES test-map.c ASSETS ${tests_SOURCE_DIR}/) 26 SOURCES test-map.c
27 # 27 ASSETS
28 ${tests_SOURCE_DIR}/assets/maps/error-height.map
29 ${tests_SOURCE_DIR}/assets/maps/error-tileheight.map
30 ${tests_SOURCE_DIR}/assets/maps/error-tilewidth.map
31 ${tests_SOURCE_DIR}/assets/maps/error-title.map
32 ${tests_SOURCE_DIR}/assets/maps/error-width.map
33 ${tests_SOURCE_DIR}/assets/maps/sample-map.map
34 )
28 molko_define_test(TARGET rbuf SOURCES test-rbuf.c) 35 molko_define_test(TARGET rbuf SOURCES test-rbuf.c)
29 molko_define_test(TARGET save SOURCES test-save.c) 36 molko_define_test(TARGET save SOURCES test-save.c)
30 molko_define_test(TARGET script SOURCES test-script.c) 37 molko_define_test(TARGET script SOURCES test-script.c)