Improve the CMake configuration to support modern practices, enhance directory structures, and separate build artifacts for different configurations.
Objectives
CMake Version Upgrade: Upgrade to the latest version of CMake (25 or later), aligning with the version used by Mochi.
Absolute Paths: Use absolute paths instead of relative paths throughout the CMake configuration.
Configurable Build Directory: Make the BUIDLD_DIR configurable and place it outside the source directory.
Separate Build Artifacts: Add a CONFIG parameter to the build environment to ensure that Release and Debug build artifacts go to separate directories, using CMAKE_BUILD_TYPE and CMAKE_INSTALL_PREFIX.
Header File Separation: Clearly separate ChronoLog client library PUBLIC HEADERS from PRIVATE HEADER files, ensuring the installation process includes both the .so files and PUBLIC HEADERS under INSTALL_DIR.
Issue Overview
Improve the CMake configuration to support modern practices, enhance directory structures, and separate build artifacts for different configurations.
Objectives