Mercurial > irccd
comparison doc/src/build.md @ 701:2007a37d7e1a
CMake: prefix options with IRCCD_, #closes 800 @2h
author | David Demelier <markand@malikania.fr> |
---|---|
date | Wed, 16 May 2018 12:25:51 +0200 |
parents | bb9771fb5f44 |
children | ebe561276c33 |
comparison
equal
deleted
inserted
replaced
700:91bc29e87399 | 701:2007a37d7e1a |
---|---|
37 | 37 |
38 ## Disabling JavaScript | 38 ## Disabling JavaScript |
39 | 39 |
40 You can disable JavaScript support. | 40 You can disable JavaScript support. |
41 | 41 |
42 $ cmake .. -DWITH_JS=Off | 42 $ cmake .. -DIRCCD_WITH_JS=Off |
43 | 43 |
44 ## Disabling SSL | 44 ## Disabling SSL |
45 | 45 |
46 You can disable OpenSSL support, it is automatically unset if OpenSSL is not | 46 You can disable OpenSSL support, it is automatically unset if OpenSSL is not |
47 found. | 47 found. |
48 | 48 |
49 **Warning**: this is not recommended. | 49 **Warning**: this is not recommended. |
50 | 50 |
51 $ cmake .. -DWITH_SSL=Off | 51 $ cmake .. -DIRCCD_WITH_SSL=Off |
52 | |
53 ## Disabling libedit | |
54 | |
55 If for some reasons, you don't want auto-completion in `irccd-test`, you can | |
56 disable it. | |
57 | |
58 $ cmake .. -DIRCCD_WITH_LIBEDIT=Off | |
52 | 59 |
53 ## Disabling all documentation | 60 ## Disabling all documentation |
54 | 61 |
55 You can disable all the documentation. | 62 You can disable all the documentation. |
56 | 63 |
57 $ cmake .. -DWITH_DOCS=Off | 64 $ cmake .. -DIRCCD_WITH_DOCS=Off |
58 | 65 |
59 See below to disable only specific parts of the documentation. | 66 See below to disable only specific parts of the documentation. |
60 | 67 |
61 ## Disabling HTML documentation | 68 ## Disabling HTML documentation |
62 | 69 |
67 | 74 |
68 ## Disabling man pages | 75 ## Disabling man pages |
69 | 76 |
70 You can disable installation of manuals. | 77 You can disable installation of manuals. |
71 | 78 |
72 $ cmake .. -DWITH_MAN=Off | 79 $ cmake .. -DIRCCD_WITH_MAN=Off |
73 | 80 |
74 ## Installation path | 81 ## Installation path |
75 | 82 |
76 Sometimes, you may need to install irccd over other place, for that, you can | 83 Sometimes, you may need to install irccd over other place, for that, you can |
77 specify the prefix where to install files. | 84 specify the prefix where to install files. |
87 | 94 |
88 By default, irccd use **${CMAKE_INSTALL_PREFIX}/share/man** for manual pages. | 95 By default, irccd use **${CMAKE_INSTALL_PREFIX}/share/man** for manual pages. |
89 | 96 |
90 For example, on FreeBSD the typical use would be: | 97 For example, on FreeBSD the typical use would be: |
91 | 98 |
92 $ cmake .. -DWITH_MANDIR=/usr/local/man | 99 $ cmake .. -DIRCCD_WITH_MANDIR=/usr/local/man |