comparison CMakeLists.txt @ 711:fc66cc9706a7

CMake: export pkg-config files, closes #874 @1h While here rename libcommon to libirccd-core to avoid collision when installed. For consistency, rename libirccdctl to libirccd-ctl.
author David Demelier <markand@malikania.fr>
date Sat, 07 Jul 2018 15:40:46 +0200
parents a17de53db29b
children 6d09b5fc82e8
comparison
equal deleted inserted replaced
710:a17de53db29b 711:fc66cc9706a7
26 # cmake/IrccdOptions.cmake - User definable options. 26 # cmake/IrccdOptions.cmake - User definable options.
27 # cmake/IrccdPackage.cmake - Package creation. 27 # cmake/IrccdPackage.cmake - Package creation.
28 # cmake/IrccdSystem.cmake - Contains some platforms checks and compile flags. 28 # cmake/IrccdSystem.cmake - Contains some platforms checks and compile flags.
29 # cmake/IrccdVersion.cmake - Defines the Irccd version and its plugins. 29 # cmake/IrccdVersion.cmake - Defines the Irccd version and its plugins.
30 # cmake/check - Platform checks in separate files. 30 # cmake/check - Platform checks in separate files.
31 # cmake/export - CMake and pkg-config exports.
31 # cmake/function - Custom CMake functions. 32 # cmake/function - Custom CMake functions.
32 # cmake/installer - Some files for the QtIFW installer.
33 # cmake/internal - Some internal files (e.g. the sysconfig.h) 33 # cmake/internal - Some internal files (e.g. the sysconfig.h)
34 # cmake/packages - Additional find_package modules. 34 # cmake/packages - Additional find_package modules.
35 # 35 #
36 # Build system is then processed in different directories: 36 # Build system is then processed in different directories:
37 # 37 #
38 # doc - The documentation process. 38 # doc - The documentation process.
39 # extern - External libraries. 39 # extern - External libraries.
40 # libirccdctl - The irccdctl library. 40 # libirccd-core - Common code.
41 # libirccd-ctl - The irccdctl library.
41 # libirccd-js - Javascript bindings library. 42 # libirccd-js - Javascript bindings library.
42 # libirccd-test - Helpers for unit tests. 43 # libirccd-test - Helpers for unit tests.
43 # libirccd - The irccd library. 44 # libirccd - The irccd library.
44 # irccd - The irccd executable. 45 # irccd - The irccd executable.
45 # irccdctl - The irccdctl utility. 46 # irccdctl - The irccdctl utility.
84 85
85 find_package(Threads REQUIRED) 86 find_package(Threads REQUIRED)
86 87
87 add_subdirectory(extern/json) 88 add_subdirectory(extern/json)
88 add_subdirectory(doc) 89 add_subdirectory(doc)
89 add_subdirectory(libcommon) 90 add_subdirectory(libirccd-core)
90 add_subdirectory(libirccd) 91 add_subdirectory(libirccd)
91 add_subdirectory(libirccdctl) 92 add_subdirectory(libirccd-ctl)
92 add_subdirectory(libirccd-test) 93 add_subdirectory(libirccd-test)
93 94
94 if (IRCCD_HAVE_JS) 95 if (IRCCD_HAVE_JS)
95 add_subdirectory(libirccd-js) 96 add_subdirectory(libirccd-js)
96 endif () 97 endif ()