Files
dpm-core-ng/CMakeLists.txt
Christopher M. Punches 282423d768 Read the version from version.cpp instead of declaring it twice
The library's version reached the build through project(), and reached
the library itself through a separate literal in version.cpp. The two
had to be kept equal by hand; the tests caught drift but the number was
written in both places.

CMakeLists.txt now reads DPM_CORE_VERSION_STR out of the source and
passes it to project(), so the soname, the artifact filenames, the
generated PDF's name, and the value the library reports all derive from
one line. Configuration fails outright if that declaration is missing.

SOVERSION follows PROJECT_VERSION_MAJOR rather than a hardcoded 1.
2026-08-16 01:06:44 -04:00

6.2 KiB