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 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
|
libgcal INSTALL
cavalcantii@gmail.com
== Compile and install ==
Dependencies: gcc, automake, libxml-dev, libcurl-dev, ca-certificates
In the project root directory, run:
$autoreconf -i -f
$mkdir build #its a good practice not polute source directory
#with binary objects
$cd build
$../configure
$make
$sudo make install
== Development ==
Dependencies: lcov, gcov, check, doxygen, dot
Do the same but you can also add:
$../configure --enable-devel #enable unit tests and other flags
**Attention**: There is an issue with efence in Ubuntu Hardy (mprotect fails),
you should run instead
**$../configure --enable-warnings --enable-check --enable-lcov**
$make lcov #runs unit test and create coverage reports
$make doxygen #generates API documentation
ps1: If you wish just to run just a suite case, set GCAL environment
variable (core|user|xml|screw) and GCALTEST variable for core module
testing (gcal|xpath|edit|contact|debug|query).
ps2: you can format this document to HTML running
$txt2tags -t html INSTALL
ps3: ATTENTION utest will not run on source directory.
ps4: Currently I have being using cmake as the official development buildsystem
(just run: make build; cd build; cmake ..; make)
ps5: Libgcal is already included in major Linux distros (Debian, OpenSuse,
Ubuntu, etc) and FreeBSD
|