diff options
| author | Danilo M. <danix@danix.xyz> | 2026-08-03 10:56:40 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-08-04 12:53:10 +0200 |
| commit | 55e2440d62243bd80003b2fc98540633c7f57cc8 (patch) | |
| tree | d7e5ee7c07b9d3255006152b4301507cdf02c61a /src | |
| parent | bd8a1ba4b259a9c8edb08c4d61c55696f695ae69 (diff) | |
| download | qtmaildir-55e2440d62243bd80003b2fc98540633c7f57cc8.tar.gz qtmaildir-55e2440d62243bd80003b2fc98540633c7f57cc8.zip | |
feat: surface the version and adopt semantic versioning
The version was declared in the project() call and used nowhere. It is now
generated into version.h from that single declaration, so nothing repeats
the literal, and it reaches the places it is actually wanted: --version,
--help, the window title, and QApplication.
--version and --help are answered before the web engine schemes are
registered and before QApplication is constructed. Printing one line does
not need a GUI, and both must work on a machine where the GUI cannot open.
Staying at 0.1.0 rather than calling this 1.0.0: under semver, 0.x is where
the interface may still change, and for this project the interface is the
config file format and the bindable action names. Both are one manual
verification pass old. 1.0.0 becomes a deliberate decision to stop changing
them under users.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Diffstat (limited to 'src')
| -rw-r--r-- | src/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 9f2278b..7e4cea8 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -14,7 +14,8 @@ add_library(qtmaildir_lib STATIC ) target_include_directories(qtmaildir_lib - PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} ${NOTMUCH_INCLUDE_DIR}) + PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} ${NOTMUCH_INCLUDE_DIR} + ${CMAKE_BINARY_DIR}/generated/qtmaildir) target_link_libraries(qtmaildir_lib PUBLIC Qt6::Widgets Qt6::WebEngineWidgets PkgConfig::GMIME ${NOTMUCH_LIBRARY}) |
