comparison examples/CMakeLists.txt @ 325:cd8b87ddd1e7

examples: bring back to live using CMake
author David Demelier <markand@malikania.fr>
date Sat, 02 Oct 2021 17:47:27 +0200
parents
children 42a6710629f5
comparison
equal deleted inserted replaced
324:87ad3de308b6 325:cd8b87ddd1e7
1 #
2 # CMakeLists.txt -- CMake build system for Molko's Adventure
3 #
4 # Copyright (c) 2020-2021 David Demelier <markand@malikania.fr>
5 #
6 # Permission to use, copy, modify, and/or distribute this software for any
7 # purpose with or without fee is hereby granted, provided that the above
8 # copyright notice and this permission notice appear in all copies.
9 #
10 # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11 # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12 # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13 # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14 # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15 # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 #
18
19 project(examples)
20
21 set(
22 DIRS
23 example-action
24 example-animation
25 example-audio
26 # example-battle
27 example-cursor
28 example-debug
29 example-drawable
30 example-font
31 example-gridmenu
32 example-label
33 example-message
34 example-sprite
35 example-trace
36 example-ui
37 )
38
39 foreach (d ${DIRS})
40 add_subdirectory(${d})
41 endforeach ()