← Back to team overview

maria-discuss team mailing list archive

How to not install tests or examples


I am building MariaDB 10.4.13 for a Linux appliance.     I do want both the server and client libraries, but I do not want many other things, including the examples and tests that seem to be getting built and installed.


I am configuring as follows:




But as an example of things I want to avoid, the mysql*_embedded binaries in libmysqld/examples get built, and then installed.  Looking through the Cmake files, I can see references to CMAKE_INSTALL_COMPONENT of “Test”, and others, but I don’t know how to specify to cmake which components I do and don’t want to install.  Can someone help me here?


          - Chris


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Follow ups