README.md 1.33 KB
Newer Older
Arnaud Blanchard's avatar
Arnaud Blanchard committed
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
BLC core
========

Copyright : [ETIS](http://www.etis.ensea.fr/neurocyber) - ENSEA, University of Cergy-Pontoise, CNRS (2011-2016)  
Author    : [Arnaud Blanchard](http://arnaudblanchard.thoughtsheet.com)  
Licence   : [CeCILL v2.1](http://www.cecill.info/licences/Licence_CeCILL_V2-en.html)  

Core of Basic Libraries for C/C++
---------------------------------
It is composed of three modules (need a POSIX system), for Linux and OSX.

- **blc_text** manage ASCII terminals (colors, cursor, sizes)
- **blc_tools** macros and functions to simplify coding and memory management
- **blc_mem** a memory structure (data pointer and size) essentially to manage dynamic memory buffers

Building
--------
You need git, g++, cmake and doxygen for the documentation:
- Ubuntu: `sudo apt-get install git g++ cmake doxygen`  
- OSX with [homebrew](http://brew.sh): `brew install git g++ cmake doxygen`

You can copy past the following code. 

    git clone https://framagit.org/blaar/blc_core.git
    cd blc_core
    mkdir build
    cd build
    cmake ..
    make

The created librairy `libblc_core.{so|dylib}` and `libblc_core.a` will be in `build/`
 
You can create a debian package (.deb) with:

    make package
 
Documentation
------------- 

The [documentation](build/doc/html/index.html) is in `build/doc/{html|latex}` (the library need to be compiled before).