
This project builds two libraries:

- libpappsomspp
- libpappsomspp-widget

These libraries depend on the following libraries:

zlib, qcustomplot, sqlite3, alglib, quazip5, zstd.


CONFIGURATION OF THE BUILD
==========================

UNIX NOT APPLE
--------------

The dependency libraries are all available and no specific configuration steps
should need to be taken. The build system will include the following file:

CMakeStuff/toolchains/unix-toolchain.cmake
 
Create a build directory and issue the following command replacing <type> with
Release or Debug:

cmake -DCMAKE_BUILD_TYPE=<type> path/to/source code root dir/


WIN10 with MINGW64
------------------

The dependency libraries should be available at some location to be defined in
the build system file:

CMakeStuff/toolchains/win10-mingw64-toolchain.cmake

The main CMakeLists.txt file allows one to define the main development directory
where the code and build directories are located for all the dependency
libraries:

set(HOME_DEVEL_DIR $ENV{HOME}/devel)

Using that variable, set, for each dependency library, the path to both the
source code and the built libraries.

 
Create a build directory and issue the following command replacing <type> with
Release or Debug:

cmake -DCMAKE_BUILD_TYPE=<type> path/to/source code root dir/


MXE on Debian
-------------

The dependency libraries should be available at some location to be defined in
the build system file:

CMakeStuff/toolchains/mxe-toolchain.cmake

The main CMakeLists.txt file allows one to define the main development directory
where the code and build directories are located for all the dependency
libraries:

set(HOME_DEVEL_DIR $ENV{HOME}/devel)

Using that variable, set, for each dependency library, the path to both the
source code and the built libraries.

Create a build directory and issue the following command replacing <type> with
Release or Debug:

cmake -DCMAKE_BUILD_TYPE=<type> path/to/source code root dir/


Apple MacOSX
------------


BUILD
=====


Finally, run:

VERBOSE=1 make

The libraries should be created in the src/ and src/pappsomspp/widget
directories.
