A C++ base class collection library for Blusher.
All non-GUI related classes are split here.
Blusher is a C++ GUI framework but still needs non-GUI classes since C++ does not offer that much functionalities for build the applications.
Like glib or Qt Core, this library provide Unicode string, vector, hash map and more. These classes have APIs as high-level as possible.
All Primer objects begin with pr::
C++ namespace.
The core implementation of Primer is written in Rust. This will be built as a static library and included in Primer.
Primer's version is same as libprimer-core.
Before build Primer, you should build libprimer-core.
libprimer-core requires cargo
command which is package manager for Rust.
Check it by,
$ cargo --version
To build, you need the following.
- C++ compiler (usually g++)
- GNU Make
- CMake
- pkg-config
- libdbus-1 with it's headers
For build,
$ make
$ mkdir build
$ cd build
$ cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
..
$ make
For install,
$ sudo make install
$ sudo make PREFIX=/usr install
$ sudo make PREFIX=/usr LIBDIR=/lib/x86_64-linux-gnu install