annotate tests/CMakeLists.txt @ 204:18e442a52f29

cmake: enable tests correctly
author David Demelier <markand@malikania.fr>
date Thu, 29 Nov 2018 12:41:27 +0100
parents 9ef01392a7f1
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
33
d4f5f7231b84 Misc: switch to .hpp, dos2unix everything while here, #478
David Demelier <markand@malikania.fr>
parents: 30
diff changeset
1 #
d4f5f7231b84 Misc: switch to .hpp, dos2unix everything while here, #478
David Demelier <markand@malikania.fr>
parents: 30
diff changeset
2 # CMakeLists.txt -- CMake build system for malikania
d4f5f7231b84 Misc: switch to .hpp, dos2unix everything while here, #478
David Demelier <markand@malikania.fr>
parents: 30
diff changeset
3 #
158
4b292c20124c Misc: update copyrights
David Demelier <markand@malikania.fr>
parents: 110
diff changeset
4 # Copyright (c) 2013-2018 David Demelier <markand@malikania.fr>
33
d4f5f7231b84 Misc: switch to .hpp, dos2unix everything while here, #478
David Demelier <markand@malikania.fr>
parents: 30
diff changeset
5 #
d4f5f7231b84 Misc: switch to .hpp, dos2unix everything while here, #478
David Demelier <markand@malikania.fr>
parents: 30
diff changeset
6 # Permission to use, copy, modify, and/or distribute this software for any
d4f5f7231b84 Misc: switch to .hpp, dos2unix everything while here, #478
David Demelier <markand@malikania.fr>
parents: 30
diff changeset
7 # purpose with or without fee is hereby granted, provided that the above
d4f5f7231b84 Misc: switch to .hpp, dos2unix everything while here, #478
David Demelier <markand@malikania.fr>
parents: 30
diff changeset
8 # copyright notice and this permission notice appear in all copies.
d4f5f7231b84 Misc: switch to .hpp, dos2unix everything while here, #478
David Demelier <markand@malikania.fr>
parents: 30
diff changeset
9 #
d4f5f7231b84 Misc: switch to .hpp, dos2unix everything while here, #478
David Demelier <markand@malikania.fr>
parents: 30
diff changeset
10 # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
d4f5f7231b84 Misc: switch to .hpp, dos2unix everything while here, #478
David Demelier <markand@malikania.fr>
parents: 30
diff changeset
11 # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
d4f5f7231b84 Misc: switch to .hpp, dos2unix everything while here, #478
David Demelier <markand@malikania.fr>
parents: 30
diff changeset
12 # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
d4f5f7231b84 Misc: switch to .hpp, dos2unix everything while here, #478
David Demelier <markand@malikania.fr>
parents: 30
diff changeset
13 # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
d4f5f7231b84 Misc: switch to .hpp, dos2unix everything while here, #478
David Demelier <markand@malikania.fr>
parents: 30
diff changeset
14 # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
d4f5f7231b84 Misc: switch to .hpp, dos2unix everything while here, #478
David Demelier <markand@malikania.fr>
parents: 30
diff changeset
15 # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
d4f5f7231b84 Misc: switch to .hpp, dos2unix everything while here, #478
David Demelier <markand@malikania.fr>
parents: 30
diff changeset
16 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
d4f5f7231b84 Misc: switch to .hpp, dos2unix everything while here, #478
David Demelier <markand@malikania.fr>
parents: 30
diff changeset
17 #
d4f5f7231b84 Misc: switch to .hpp, dos2unix everything while here, #478
David Demelier <markand@malikania.fr>
parents: 30
diff changeset
18
d4f5f7231b84 Misc: switch to .hpp, dos2unix everything while here, #478
David Demelier <markand@malikania.fr>
parents: 30
diff changeset
19 project(test)
d4f5f7231b84 Misc: switch to .hpp, dos2unix everything while here, #478
David Demelier <markand@malikania.fr>
parents: 30
diff changeset
20
193
209bdaa13a49 Tests: rename directories to match targets
David Demelier <markand@malikania.fr>
parents: 182
diff changeset
21 add_subdirectory(libmlk)
204
18e442a52f29 cmake: enable tests correctly
David Demelier <markand@malikania.fr>
parents: 199
diff changeset
22
18e442a52f29 cmake: enable tests correctly
David Demelier <markand@malikania.fr>
parents: 199
diff changeset
23 if (MALIKANIA_HAS_SERVER)
18e442a52f29 cmake: enable tests correctly
David Demelier <markand@malikania.fr>
parents: 199
diff changeset
24 add_subdirectory(libmlk-db)
18e442a52f29 cmake: enable tests correctly
David Demelier <markand@malikania.fr>
parents: 199
diff changeset
25 endif ()
18e442a52f29 cmake: enable tests correctly
David Demelier <markand@malikania.fr>
parents: 199
diff changeset
26
18e442a52f29 cmake: enable tests correctly
David Demelier <markand@malikania.fr>
parents: 199
diff changeset
27 if (MALIKANIA_HAS_CLIENT)
18e442a52f29 cmake: enable tests correctly
David Demelier <markand@malikania.fr>
parents: 199
diff changeset
28 add_subdirectory(libmlk-client)
18e442a52f29 cmake: enable tests correctly
David Demelier <markand@malikania.fr>
parents: 199
diff changeset
29 endif ()
18e442a52f29 cmake: enable tests correctly
David Demelier <markand@malikania.fr>
parents: 199
diff changeset
30
99
0addfab87b17 Common: implement basic tilesets, closes #664
David Demelier <markand@malikania.fr>
parents: 76
diff changeset
31 add_subdirectory(tools)