comparison examples/CMakeLists.txt @ 148:c577c15df07f

misc: split libraries, closes #2496
author David Demelier <markand@malikania.fr>
date Thu, 15 Oct 2020 10:32:18 +0200
parents 7f1af54bb35a
children b19d076856d2
comparison
equal deleted inserted replaced
147:b386d25832c8 148:c577c15df07f
23 SOURCES example-action.c 23 SOURCES example-action.c
24 FOLDER examples 24 FOLDER examples
25 ASSETS 25 ASSETS
26 ${examples_SOURCE_DIR}/assets/sprites/chest.png 26 ${examples_SOURCE_DIR}/assets/sprites/chest.png
27 ${examples_SOURCE_DIR}/assets/sprites/people.png 27 ${examples_SOURCE_DIR}/assets/sprites/people.png
28 LIBRARIES libcore 28 LIBRARIES librpg
29 ) 29 )
30 30
31 molko_define_executable( 31 molko_define_executable(
32 TARGET example-font 32 TARGET example-font
33 SOURCES example-font.c 33 SOURCES example-font.c
34 LIBRARIES libcore 34 LIBRARIES libui
35 ) 35 )
36 36
37 molko_define_executable( 37 molko_define_executable(
38 TARGET example-inventory 38 TARGET example-inventory
39 SOURCES example-inventory 39 SOURCES example-inventory.c
40 ASSETS 40 ASSETS
41 ${examples_SOURCE_DIR}/assets/images/fish.png 41 ${examples_SOURCE_DIR}/assets/images/fish.png
42 ${examples_SOURCE_DIR}/assets/images/potion.png 42 ${examples_SOURCE_DIR}/assets/images/potion.png
43 ${examples_SOURCE_DIR}/assets/images/sword.png 43 ${examples_SOURCE_DIR}/assets/images/sword.png
44 FOLDER examples 44 FOLDER examples
45 LIBRARIES libcore 45 LIBRARIES librpg
46 ) 46 )
47 47
48 molko_define_executable( 48 molko_define_executable(
49 TARGET example-label 49 TARGET example-label
50 SOURCES example-label.c 50 SOURCES example-label.c
51 LIBRARIES libcore 51 LIBRARIES libui
52 ) 52 )
53 53
54 molko_define_executable( 54 molko_define_executable(
55 TARGET example-message 55 TARGET example-message
56 SOURCES example-message.c 56 SOURCES example-message.c
57 FOLDER examples 57 FOLDER examples
58 LIBRARIES libcore 58 LIBRARIES librpg
59 ) 59 )
60 60
61 molko_define_executable( 61 molko_define_executable(
62 TARGET example-sound 62 TARGET example-sound
63 SOURCES example-sound.c 63 SOURCES example-sound.c
64 FOLDER examples 64 FOLDER examples
65 ASSETS 65 ASSETS
66 ${examples_SOURCE_DIR}/assets/sounds/vabsounds-romance.ogg 66 ${examples_SOURCE_DIR}/assets/sounds/vabsounds-romance.ogg
67 LIBRARIES libcore 67 LIBRARIES libui
68 ) 68 )
69 69
70 molko_define_executable( 70 molko_define_executable(
71 TARGET example-drawable 71 TARGET example-drawable
72 SOURCES example-drawable.c 72 SOURCES example-drawable.c
73 FOLDER examples 73 FOLDER examples
74 LIBRARIES libcore 74 LIBRARIES libui
75 ASSETS 75 ASSETS
76 ${examples_SOURCE_DIR}/assets/sprites/explosion.png 76 ${examples_SOURCE_DIR}/assets/sprites/explosion.png
77 ) 77 )
78 78
79 molko_define_executable( 79 molko_define_executable(
80 TARGET example-trace 80 TARGET example-trace
81 SOURCES example-trace.c 81 SOURCES example-trace.c
82 FOLDER examples 82 FOLDER examples
83 LIBRARIES libcore libadventure 83 LIBRARIES libui libadventure
84 ) 84 )