comparison cmake/IrccdOptions.cmake @ 466:8ea7330101e6

Misc: postpone native plugins for 3.0.0
author David Demelier <markand@malikania.fr>
date Wed, 23 Aug 2017 07:40:17 +0200
parents 9bb6bf1cb50b
children 0b156b82b8c1
comparison
equal deleted inserted replaced
465:b5478ee3d37a 466:8ea7330101e6
37 # 37 #
38 # Options that controls both installations and the irccd runtime: 38 # Options that controls both installations and the irccd runtime:
39 # 39 #
40 # WITH_BINDIR Binary directory for irccd, irccdctl 40 # WITH_BINDIR Binary directory for irccd, irccdctl
41 # WITH_PLUGINDIR Path where plugins must be installed 41 # WITH_PLUGINDIR Path where plugins must be installed
42 # WITH_NPLUGINDIR Path where native plugins must be installed
43 # WITH_DOCDIR Path where to install documentation 42 # WITH_DOCDIR Path where to install documentation
44 # WITH_MANDIR Path where to install manuals 43 # WITH_MANDIR Path where to install manuals
45 # WITH_CONFDIR Path where to search configuration files 44 # WITH_CONFDIR Path where to search configuration files
46 # WITH_CACHEDIR Path where to store temporary files 45 # WITH_CACHEDIR Path where to store temporary files
47 # WITH_PKGCONFIGDIR Path where to install pkg-config files 46 # WITH_PKGCONFIGDIR Path where to install pkg-config files
97 # 96 #
98 if (WIN32) 97 if (WIN32)
99 set(WITH_DATADIR "share" CACHE STRING "Data directory") 98 set(WITH_DATADIR "share" CACHE STRING "Data directory")
100 set(WITH_CACHEDIR "var" CACHE STRING "Temporary files directory") 99 set(WITH_CACHEDIR "var" CACHE STRING "Temporary files directory")
101 set(WITH_PLUGINDIR "share/plugins" CACHE STRING "Module prefix where to install") 100 set(WITH_PLUGINDIR "share/plugins" CACHE STRING "Module prefix where to install")
102 set(WITH_NPLUGINDIR "lib/irccd/plugins" CACHE STRING "Directory for native plugins")
103 set(WITH_DOCDIR "share/doc" CACHE STRING "Documentation directory") 101 set(WITH_DOCDIR "share/doc" CACHE STRING "Documentation directory")
104 else () 102 else ()
105 set(WITH_DATADIR "share/irccd" CACHE STRING "Data directory") 103 set(WITH_DATADIR "share/irccd" CACHE STRING "Data directory")
106 set(WITH_CACHEDIR "var/irccd" CACHE STRING "Temporary files directory") 104 set(WITH_CACHEDIR "var/irccd" CACHE STRING "Temporary files directory")
107 set(WITH_PLUGINDIR "share/irccd/plugins" CACHE STRING "Module prefix where to install") 105 set(WITH_PLUGINDIR "share/irccd/plugins" CACHE STRING "Module prefix where to install")
108 set(WITH_NPLUGINDIR "lib/irccd/plugins" CACHE STRING "Directory for native plugins")
109 set(WITH_DOCDIR "share/doc/irccd" CACHE STRING "Documentation directory") 106 set(WITH_DOCDIR "share/doc/irccd" CACHE STRING "Documentation directory")
110 endif () 107 endif ()
111 108
112 # 109 #
113 # Check if any of these path is absolute and raise an error if true. 110 # Check if any of these path is absolute and raise an error if true.