


sudo apt install -y cmake pkg-config libglib2.0-dev libgpgme-dev libgnutls28-dev uuid-dev libssh-gcrypt-dev libldap2-dev doxygen graphviz libradcli-dev libhiredis-dev libpcap-dev bison libksba-dev libsnmp-dev gcc. Pls do not hesitate to tell me in comments or. However, as of Debian 10 (buster) it's not yet available. I am no experienced debian user, so this may contain errors. Note: Kitware (cmake developer) is working on a new debhelper extension dh-cmake which looks like it'll make this even easier. I'm happy to accept edits to this answer with a better solution. This solution presumes you are using make, and that the only -P string is going to be in your install commands (which seem to be the case for the projects I've checked so far). Instead these commands edit the Makefile auto-generated by cmake. For example, if you have an amd64 system that you want to install i386 libraries onto, do the following: multiarch support is present from dpkg 1.16.2 (or 1.16.0 in Ubuntu) and apt 0.8.13.

I was hoping to do it by passing -DCOMPONENT=app1 to dh_auto_install directory. To enable the installation of multiarch binaries, apt and dpkg need configuration changes. I'm a little disappointed in the sed commands. In all cases, the basic form of findpackage () calls is the same: findpackage (Qt4 4.7.0 REQUIRED) CMake provides a Qt4 find-module. Indirect support for pkg-config packages is also provided via the FindPkgConfig module. %:ĭh # -buildsystem=cmake represents / in that binary package. CMake provides direct support for two forms of packages, Config-file Packages and Find-module Packages. Log4cxx requires zip, sed, and grep on the PATH in order for the tests to work properly.īuilding and testing log4cxx on a Microsoft Windows with APR, Expat and APR-Util built from source extracted into apr-1.7.0, libexpat(from github) and apr-util-1.6.1 in HOMEPATH%.A standard debhelper debain/rules file might look like this (buildsystem automatically detects cmake in newer compat levels). If BUILD_SHARED_LIBS=off, the static APR library is always used.Īn extra path to prepend to the PATH for test programs. By default, the log4cxx shared library is linked to the APR shared library. If BUILD_SHARED_LIBS=off, the static APR-Util library is used. If you use a Linux system, you can install CMake and its GUI using your packet manager. By default, the log4cxx shared library is linked to the APR-Util shared library. Any compilation unit that includes a log4cxx header must define LOG4CXX_STATIC. A dynamically linked log4cxx library is built by default. Tests are built by defaultīuild log4cxx as a static library. The following tools are required if you want to work with the nRF5 SDK for Mesh using CMake on Debian/Ubuntu. Enable wchar_t API methods, choice of yes (default), no.Įnable UniChar API methods, choice of yes, no (default).Įnable CFString API methods, requires Mac OS/X CoreFoundation, choice of yes, no (default).ĭo not build tests. For Debian/Ubuntu, most tools are available from the system package manager apt.
