Installation of libical
Install libical by running the
following commands:
mkdir build &&
cd build &&
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DSHARED_ONLY=yes \
.. &&
make
If you have Doxygen-1.8.15 installed and wish to build the
API documentation, issue:
make docs
To test the results, issue: make
test. One test, timezones, is known to fail.
Now, as the root
user:
make install
If you have built the API documentation, install by issuing, as
root
user:
install -vdm755 /usr/share/doc/libical-3.0.4/html &&
cp -vr apidocs/html/* /usr/share/doc/libical-3.0.4/html
Command Explanations
-DCMAKE_BUILD_TYPE=Release
:
This switch is used to apply higher level of the compiler
optimizations.
-DSHARED_ONLY=yes
: This
switch is used in order to only build the shared libraries.
-DUSE_BUILTIN_TZDATA=yes
: This switch
is used in order to build using your own timezone data.