[us-commits] [ehb54/ultrascan3] 5ba820: SOMO: extract per-app sources from .pro; split GUI...
emre brookes
noreply at github.com
Thu Jul 2 11:50:33 MDT 2026
Branch: refs/heads/ehb54-issue-943
Home: https://github.com/ehb54/ultrascan3
Commit: 5ba8208849583b50493cd6ca5a4d707928ded295
https://github.com/ehb54/ultrascan3/commit/5ba8208849583b50493cd6ca5a4d707928ded295
Author: ehb54 <brookes at uthscsa.edu>
Date: 2026-07-02 (Thu, 02 Jul 2026)
Changed paths:
M us_somo/develop/CMakeLists.txt
A us_somo/develop/somo_app_sources.cmake
Log Message:
-----------
SOMO: extract per-app sources from .pro; split GUI vs standalone tools
Apps fall into two classes (verified against .pro files and ldd of deployed
binaries), so a uniform lib-linking model was wrong:
- GUI apps (generic.pri): single main.cpp linking libus_somo (+ qwt).
us3_somo / us_admin / us3_config -> somo_add_gui_app().
- Standalone tools (cmdline.pri): main.cpp + a curated ../src subset compiled
directly into the exe; do NOT link libus_somo and do NOT link qwt (ldd of
us_saxs_cmds_t confirms neither). us_saxs_cmds_t, us_cluster_server_t, and
the optional MPI/CUDA variants -> somo_add_tool().
Per-tool source subsets extracted from each tool's own .pro into
somo_app_sources.cmake (us_saxs_cmds_t 63, us_saxs_cmds_mpi 66,
us_saxs_cmds_mpi_cuda 56, us_cluster_server_t 1 source; +headers).
Both generated list files validated with `cmake -P`.
Refs ehb54/ultrascan-tickets#943
Co-Authored-By: Claude Opus 4.8 <noreply at anthropic.com>
To unsubscribe from these emails, change your notification settings at https://github.com/ehb54/ultrascan3/settings/notifications
More information about the us-commits
mailing list