Mercurial > molko
annotate examples/example-battle/CMakeLists.txt @ 241:76afe639fd72
misc: add support for NLS, closes #22510 @4h
While here cleanup the path functions in sys.c/sys.h
author | David Demelier <markand@malikania.fr> |
---|---|
date | Sat, 28 Nov 2020 18:00:05 +0100 |
parents | 23a844fdc911 |
children | 4c24604efcab |
rev | line source |
---|---|
209
23a844fdc911
examples: move all into subdirectories, closes #2513
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
1 # |
23a844fdc911
examples: move all into subdirectories, closes #2513
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
2 # CMakeLists.txt -- CMake build system for molko |
23a844fdc911
examples: move all into subdirectories, closes #2513
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
3 # |
23a844fdc911
examples: move all into subdirectories, closes #2513
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
4 # Copyright (c) 2020 David Demelier <markand@malikania.fr> |
23a844fdc911
examples: move all into subdirectories, closes #2513
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
5 # |
23a844fdc911
examples: move all into subdirectories, closes #2513
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
6 # Permission to use, copy, modify, and/or distribute this software for any |
23a844fdc911
examples: move all into subdirectories, closes #2513
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
7 # purpose with or without fee is hereby granted, provided that the above |
23a844fdc911
examples: move all into subdirectories, closes #2513
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
8 # copyright notice and this permission notice appear in all copies. |
23a844fdc911
examples: move all into subdirectories, closes #2513
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
9 # |
23a844fdc911
examples: move all into subdirectories, closes #2513
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
10 # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES |
23a844fdc911
examples: move all into subdirectories, closes #2513
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
11 # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF |
23a844fdc911
examples: move all into subdirectories, closes #2513
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
12 # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR |
23a844fdc911
examples: move all into subdirectories, closes #2513
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
13 # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES |
23a844fdc911
examples: move all into subdirectories, closes #2513
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
14 # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN |
23a844fdc911
examples: move all into subdirectories, closes #2513
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
15 # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
23a844fdc911
examples: move all into subdirectories, closes #2513
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
16 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
23a844fdc911
examples: move all into subdirectories, closes #2513
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
17 # |
23a844fdc911
examples: move all into subdirectories, closes #2513
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
18 |
23a844fdc911
examples: move all into subdirectories, closes #2513
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
19 project(example-battle) |
23a844fdc911
examples: move all into subdirectories, closes #2513
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
20 |
23a844fdc911
examples: move all into subdirectories, closes #2513
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
21 molko_define_executable( |
23a844fdc911
examples: move all into subdirectories, closes #2513
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
22 TARGET example-battle |
23a844fdc911
examples: move all into subdirectories, closes #2513
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
23 SOURCES |
23a844fdc911
examples: move all into subdirectories, closes #2513
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
24 ${example-battle_SOURCE_DIR}/main.c |
23a844fdc911
examples: move all into subdirectories, closes #2513
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
25 ${example-battle_SOURCE_DIR}/spell-fire.c |
23a844fdc911
examples: move all into subdirectories, closes #2513
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
26 ${example-battle_SOURCE_DIR}/spell-fire.h |
23a844fdc911
examples: move all into subdirectories, closes #2513
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
27 ${example-battle_SOURCE_DIR}/registry.c |
23a844fdc911
examples: move all into subdirectories, closes #2513
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
28 ${example-battle_SOURCE_DIR}/registry.h |
23a844fdc911
examples: move all into subdirectories, closes #2513
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
29 FOLDER examples |
23a844fdc911
examples: move all into subdirectories, closes #2513
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
30 LIBRARIES librpg libadventure libexamples |
23a844fdc911
examples: move all into subdirectories, closes #2513
David Demelier <markand@malikania.fr>
parents:
diff
changeset
|
31 ) |