annotate tests/src/irccdctl/CMakeLists.txt @ 664:ce2748ffcf36

Tests: disable tests if Javascript is disabled
author David Demelier <markand@malikania.fr>
date Thu, 29 Mar 2018 19:42:16 +0200
parents e9153b85b9bd
children 7ed23c858694
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
662
e9153b85b9bd Tests: test irccdctl (plugin-* commands) #785
David Demelier <markand@malikania.fr>
parents:
diff changeset
1 #
e9153b85b9bd Tests: test irccdctl (plugin-* commands) #785
David Demelier <markand@malikania.fr>
parents:
diff changeset
2 # CMakeLists.txt -- CMake build system for irccd
e9153b85b9bd Tests: test irccdctl (plugin-* commands) #785
David Demelier <markand@malikania.fr>
parents:
diff changeset
3 #
e9153b85b9bd Tests: test irccdctl (plugin-* commands) #785
David Demelier <markand@malikania.fr>
parents:
diff changeset
4 # Copyright (c) 2013-2018 David Demelier <markand@malikania.fr>
e9153b85b9bd Tests: test irccdctl (plugin-* commands) #785
David Demelier <markand@malikania.fr>
parents:
diff changeset
5 #
e9153b85b9bd Tests: test irccdctl (plugin-* commands) #785
David Demelier <markand@malikania.fr>
parents:
diff changeset
6 # Permission to use, copy, modify, and/or distribute this software for any
e9153b85b9bd Tests: test irccdctl (plugin-* commands) #785
David Demelier <markand@malikania.fr>
parents:
diff changeset
7 # purpose with or without fee is hereby granted, provided that the above
e9153b85b9bd Tests: test irccdctl (plugin-* commands) #785
David Demelier <markand@malikania.fr>
parents:
diff changeset
8 # copyright notice and this permission notice appear in all copies.
e9153b85b9bd Tests: test irccdctl (plugin-* commands) #785
David Demelier <markand@malikania.fr>
parents:
diff changeset
9 #
e9153b85b9bd Tests: test irccdctl (plugin-* commands) #785
David Demelier <markand@malikania.fr>
parents:
diff changeset
10 # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
e9153b85b9bd Tests: test irccdctl (plugin-* commands) #785
David Demelier <markand@malikania.fr>
parents:
diff changeset
11 # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
e9153b85b9bd Tests: test irccdctl (plugin-* commands) #785
David Demelier <markand@malikania.fr>
parents:
diff changeset
12 # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
e9153b85b9bd Tests: test irccdctl (plugin-* commands) #785
David Demelier <markand@malikania.fr>
parents:
diff changeset
13 # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
e9153b85b9bd Tests: test irccdctl (plugin-* commands) #785
David Demelier <markand@malikania.fr>
parents:
diff changeset
14 # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
e9153b85b9bd Tests: test irccdctl (plugin-* commands) #785
David Demelier <markand@malikania.fr>
parents:
diff changeset
15 # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
e9153b85b9bd Tests: test irccdctl (plugin-* commands) #785
David Demelier <markand@malikania.fr>
parents:
diff changeset
16 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
e9153b85b9bd Tests: test irccdctl (plugin-* commands) #785
David Demelier <markand@malikania.fr>
parents:
diff changeset
17 #
e9153b85b9bd Tests: test irccdctl (plugin-* commands) #785
David Demelier <markand@malikania.fr>
parents:
diff changeset
18
664
ce2748ffcf36 Tests: disable tests if Javascript is disabled
David Demelier <markand@malikania.fr>
parents: 662
diff changeset
19 if (HAVE_JS)
ce2748ffcf36 Tests: disable tests if Javascript is disabled
David Demelier <markand@malikania.fr>
parents: 662
diff changeset
20 add_subdirectory(cli-plugin-config)
ce2748ffcf36 Tests: disable tests if Javascript is disabled
David Demelier <markand@malikania.fr>
parents: 662
diff changeset
21 add_subdirectory(cli-plugin-info)
ce2748ffcf36 Tests: disable tests if Javascript is disabled
David Demelier <markand@malikania.fr>
parents: 662
diff changeset
22 add_subdirectory(cli-plugin-list)
ce2748ffcf36 Tests: disable tests if Javascript is disabled
David Demelier <markand@malikania.fr>
parents: 662
diff changeset
23 add_subdirectory(cli-plugin-load)
ce2748ffcf36 Tests: disable tests if Javascript is disabled
David Demelier <markand@malikania.fr>
parents: 662
diff changeset
24 add_subdirectory(cli-plugin-reload)
ce2748ffcf36 Tests: disable tests if Javascript is disabled
David Demelier <markand@malikania.fr>
parents: 662
diff changeset
25 add_subdirectory(cli-plugin-unload)
ce2748ffcf36 Tests: disable tests if Javascript is disabled
David Demelier <markand@malikania.fr>
parents: 662
diff changeset
26 endif ()