README

changeset 760
52e49533e7b4
parent 750
8a3336743c4e
equal deleted inserted replaced
759:475335643af4 760:52e49533e7b4
17 With this library we provide useful data structures and algorithms for common 17 With this library we provide useful data structures and algorithms for common
18 programmatic tasks in the C language. By design the features are divided into 18 programmatic tasks in the C language. By design the features are divided into
19 modules to minimize the library footprint. Using the build files you can create 19 modules to minimize the library footprint. Using the build files you can create
20 a static and a shared lib containing all modules, but you may also use the UCX 20 a static and a shared lib containing all modules, but you may also use the UCX
21 sources in your project and compile specific modules by yourself to further 21 sources in your project and compile specific modules by yourself to further
22 minimize the footprint. 22 minimize the footprint, e.g. when you need lists, but do not need hash maps.
23 23
24 24
25 2. Build 25 2. Build
26 -------- 26 --------
27 27
28 The build processes uses CMake starting with UCX 3.0. 28 The build processes requires executing a simple configure script and calling
29 You can clone the repository or download the sources from SourceForge. 29 make. You can clone the repository or download the sources from SourceForge.
30 30
31 wget https://sourceforge.net/projects/ucx/files/ucx-latest.tar.gz 31 wget https://sourceforge.net/projects/ucx/files/ucx-latest.tar.gz
32 tar -xzf ucx-latest.tar.gz 32 tar -xzf ucx-latest.tar.gz
33 cd ucx-latest 33 cd ucx-latest
34 34
35 Then create a build directory and use cmake to create the build files, 35 Then execute ./configure with the options you like. You can get a list of
36 execute the build, and - optionally - install the files. 36 all available options with ./configure --help. The recommended configuration
37 for production builds is ./configure --release.
37 38
38 mkdir build 39 ./configure --release
39 cd build 40 make
40 cmake .. 41 make check # only available when built with tests
41 cmake --build . 42 sudo make install
42 sudo cmake --install .
43 43
44 3. Documentation 44 3. Documentation
45 ---------------- 45 ----------------
46 46
47 Documentation is available at: 47 Documentation is available at:

mercurial