官术网_书友最值得收藏!

  • Lighttpd
  • Andre Bogus
  • 170字
  • 2021-08-25 18:06:19

Building Lighttpd using CMake

Starting with 1.5.0, the Lighttpd developers tried using CMake instead of Autotools to speed up the build process. However, it was apparently removed in the development snapshots, for which Autotools are used. If we come across a version with a CMakeLists.txt file, we can build it using CMake.

CMake can be run with the -i option to start it in the wizard mode so that we are queried on all options. This is probably the easiest way of setting up Lighttpd, but depending on how many installations we have we might want to do a command-line install. In this case, cmake -L gives us a list of options, which we can supply via the -D switch, as in:

cmake -DWITH_OPENSSL:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/home/lighty

Note

Options of the type BOOL can take the values ON, OFF (or TRUE, False, Y, N, and so on). All other types are basically handled like strings. The naming of the options should be similar to the options for Automake in the preceding table.

主站蜘蛛池模板: 楚雄市| 静安区| 江阴市| 博爱县| 临海市| 太保市| 堆龙德庆县| 庄河市| 江城| 墨脱县| 临安市| 柏乡县| 湖北省| 繁峙县| 连平县| 海淀区| 黎川县| 女性| 齐齐哈尔市| 平塘县| 容城县| 文登市| 左云县| 昌黎县| 齐河县| 沙雅县| 吕梁市| 天等县| 新竹县| 赣榆县| 济宁市| 玉林市| 麻江县| 台南市| 崇文区| 云龙县| 固始县| 永川市| 神池县| 庄浪县| 措勤县|