Debian Codegraph @

INSTALL

raw
1 Build&install are based on CMake.
2 Out-of-source build is enforced.
3
4 == Standard build ==
5
6 Get the latest source archive (tgz) from
7 https://jugit.fz-juelich.de/mlz/libcerf/releases.
8 Unpack the archive, go to the source directory, and do:
9
10 mkdir build
11 cd build
12 cmake ..
13 make
14 ctest
15 make install
16
17 == Compile as C++ code ==
18
19 By default, the sources of libcerf are compiled as C code.
20 Alternatively, they can be compiled as C++. This is useful
21 under MS VisualStudio, which supports C++14, but not yet C99,
22 and in particular does not support complex.h under C.
23
24 To choose C++ compilation, do
25
26 cmake -DCERF_CPP=ON ..
27
28 In this case, the C++ code that calls functions from libcerf
29 must be compiled with the option -DCERF_AS_CPP.
30
31 == Uninstall ==
32
33 CMake does not produce a 'make uninstall' target.
34 Instead, use the list of installed files in the
35 build directory:
36
37 cat install_manifest.txt | xargs rm