comparison tests/src/plugins/joke/CMakeLists.txt @ 618:5afc0b3a9ad8

Plugin joke: brand new plugin, closes #609 @2h The new joke plugin offers a convenient registry of jokes that are displayed in a random and unique order. It keeps track of displayed jokes per channel/server pairs.
author David Demelier <markand@malikania.fr>
date Tue, 19 Dec 2017 22:02:12 +0100
parents
children 27587ff92a64
comparison
equal deleted inserted replaced
617:241583937af0 618:5afc0b3a9ad8
1 #
2 # CMakeLists.txt -- CMake build system for irccd
3 #
4 # Copyright (c) 2013-2017 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 irccd_define_test(
20 NAME plugin-joke
21 SOURCES
22 main.cpp
23 jokes-empty.json
24 jokes-invalid.json
25 jokes.json
26 jokes-not-array.json
27 jokes-toobig.json
28 LIBRARIES libirccd
29 FLAGS
30 PLUGIN_NAME="joke"
31 PLUGIN_PATH="${CMAKE_SOURCE_DIR}/plugins/joke/joke.js"
32 )