Resolve "Unification of CMake build between gui and core"
requested to merge rcaloudis2v6/simopenpass:40-unification-of-cmake-build-between-gui-and-core into 40-unification-of-cmake-build-between-gui-and-core
Closes #40 (closed)
This MR:
- fixes the in-source build, when OPENPASS_ADJUST_OUTPUT=ON (currently this does create an unnecessary /gui directory and does not copy the executable and libraries of the gui at build time)
- fixes the install-step when WITH_GUI=ON, as build and install target inside the gui are now defined via
cmake/HelperMacros.cmake
- introduces a new build of a static gui library inside to reduce coupling between gui modules
- various other clean ups
Tested under Windows and Linux.
Edited by Robin Caloudis