Skip to content

Add separate Tools module in ApplicationLibCode#865

Draft
Copilot wants to merge 2 commits into
devfrom
copilot/add-tools-helper-module
Draft

Add separate Tools module in ApplicationLibCode#865
Copilot wants to merge 2 commits into
devfrom
copilot/add-tools-helper-module

Conversation

Copilot AI commented Apr 9, 2026

Copy link
Copy Markdown

Creates a new ApplicationLibCode/Tools/ library module to improve architecture by separating lightweight utility classes from the main ApplicationLibCode OBJECT library. The new module contains only files with no caf/cvf dependencies — only C++ stdlib and Qt::Core.

New module

ApplicationLibCode/Tools/ — separate static library linking against Qt6::Core and regression-analysis.

Files moved from ApplicationLibCode/Application/Tools/

File Dependencies
RiaHashTools.h Pure C++ (header-only)
RiaWeightedMeanCalculator.h/.inl Pure C++ (template header-only)
RiaWeightedGeometricMeanCalculator.h/cpp Pure C++
RiaWeightedHarmonicMeanCalculator.h/cpp Pure C++
enum_bitmask.hpp Pure C++ (header-only)
RiaStringEncodingTools.h/cpp C++ + Qt::Core
RiaTimeTTools.h/cpp C++ + Qt::Core
RiaImageCompareReporter.h/cpp C++ + Qt::Core
RiaImageFileCompare.h/cpp Qt::Core
RiaOpenMPTools.h/cpp Qt::Core + OpenMP
RiaRegressionTextTools.h/cpp Qt::Core + regression-analysis

CMake integration

  • ApplicationLibCode links Tools as PUBLIC — all existing #include directives remain unchanged (no consumer code touched)
  • add_subdirectory(ApplicationLibCode/Tools) added to root CMakeLists.txt before ApplicationLibCode

Copilot AI changed the title [WIP] Add a separate module for tools and helper functions Add separate Tools module in ApplicationLibCode Apr 9, 2026
Copilot AI requested a review from magnesj April 9, 2026 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a separate module for tools and helper functions

2 participants