Resolve "Add a new `scord-control` CMake target"
This MR reorganizes the code so that a secondary scord-ctl daemon is built. Since a lot of the code is shared between scord and scord-ctl, it restructures the code structure and the CMake targets so that we can reuse as much as possible. In short, the following changes have been made:
- The source code for the
scorddaemon now has its own directory insrc/scord - A new
scord-ctltarget is added for the new daemon that lives insrc/scord-ctl - Library code now lives under the
libdirectory sinceapiseemed ambiguous - Public rpc definitions now live in
src/lib/rpcs/ - Private rpc definitions for each daemon now live in
src/scord/rpcs/andsrc/scord-ctl/rpcs/, respectively -
config,logger, andnetworkcode now live under thecommondirectory
Closes #9 (closed)
Edited by Ramon Nou