Mercurial > irccd
view plugins/CMakeLists.txt @ 768:d8bf53170fb6
Plugin links: fix various errors, closes #912 @2h
Import uriparser to decode URLs correctly with fragment and query support for a
better link decomposition.
Improve pre-check message to allow people writing text after the link, e.g:
http://example.org <- you should check this
Improve relocation.
Split code for better style.
author | David Demelier <markand@malikania.fr> |
---|---|
date | Wed, 24 Oct 2018 21:05:00 +0200 |
parents | 4b5dba257d81 |
children | 8c44bbcbbab9 |
line wrap: on
line source
# # CMakeLists.txt -- CMake build system for irccd # # Copyright (c) 2013-2018 David Demelier <markand@malikania.fr> # # Permission to use, copy, modify, and/or distribute this software for any # purpose with or without fee is hereby granted, provided that the above # copyright notice and this permission notice appear in all copies. # # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. # project(plugins) set( IRCCD_JAVASCRIPT_PLUGINS ask auth hangman history joke logger plugin roulette tictactoe ) set( IRCCD_NATIVE_PLUGINS links ) set( IRCCD_PLUGINS ${IRCCD_JAVASCRIPT_PLUGINS} ${IRCCD_NATIVE_PLUGINS} CACHE INTERNAL "" ) foreach (plugin ${IRCCD_JAVASCRIPT_PLUGINS}) irccd_define_plugin( NAME ${plugin} TYPE JS SCRIPT ${plugins_SOURCE_DIR}/${plugin}/${plugin}.js DOCS ${plugins_SOURCE_DIR}/${plugin}/${plugin}.md ) endforeach () add_subdirectory(links)