forked from fredemmott/fastcgiqt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
38 lines (25 loc) · 964 Bytes
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
At it's most basic, you can build and install FastCgiQt like this:
cd FastCgiQt
mkdir build
cd build
cmake ..
make -j5
sudo make install
Currently, this will build and install FastCgiQt with core and database support, but
not with XSLT or memcached support.
DATABASE SUPPORT
----------------
By default, FastCgiQt builds with database support (the FastCgiQt::Database class).
This can be disabled by passing WITH_SQL_SUPPORT=OFF to cmake, like so:
cmake . -DWITH_SQL_SUPPORT=OFF
XSLT SUPPORT
------------
If you are building against Qt 4.5 or later, you can enable the FastCgiQt::XsltService
class by passing WITH_XSLT_SUPPORT=ON to cmake, like so:
cmake . -DWITH_XSLT_SUPPORT=ON
MEMCACHED SUPPORT
-----------------
Memcached is a very high-performance distributed caching system.
If libmemcached is installed, you can enable support for it like so:
cmake . -DWITH_MEMCACHED_SUPPORT=ON
See the file "CONFIGURATION" for information on how to use this.