Mercurial > molko
comparison examples/CMakeLists.txt @ 447:e1fa1b867281
cmake: resurrection
Using GNU make for such a big project is tedious.
author | David Demelier <markand@malikania.fr> |
---|---|
date | Sat, 18 Feb 2023 12:43:05 +0100 |
parents | |
children | 39dd7c66ebfd |
comparison
equal
deleted
inserted
replaced
446:4607eea0eabc | 447:e1fa1b867281 |
---|---|
1 # | |
2 # CMakeLists.txt -- CMake build system for Molko's Engine | |
3 # | |
4 # Copyright (c) 2020-2022 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-notify | |
35 example-sprite | |
36 example-trace | |
37 example-ui | |
38 ) | |
39 | |
40 foreach (d ${DIRS}) | |
41 add_subdirectory(${d}) | |
42 endforeach () |