Added FindPCRE.cmake which is used by the FindMySQL.cmake.

This commit is contained in:
Markus Makela
2015-04-16 18:11:29 +03:00
parent 04ae743904
commit f0c02a2df1

View File

@ -259,3 +259,8 @@ When you run the `make testall` target after configuring the build with CMake a
After testing has finished you can find a full testlog generated by CTest in `Testing/Temporary/` directory and MaxScale's log files in the `log/` directory of the build root.
## Building the MaxScale package
First make sure you have the required libraries for your platform, including either rpmbuild for RHEL variants or dpkg-dev for Debian variants.
If you wish to generate your own MaxScale package, you can do so by first configuring CMake with -DPACKAGE=Y. This will enable the package building target, `package` for the Makefile build system. After configuring, it should be as simple as running the `make package` command in the build directory. This will result in two packages, a tar.gz package and either a .rpm package or a .deb package depending on your system.