tycho: add version and authors
parent
bb8f8d4636
commit
40a28149a1
|
@ -50,6 +50,13 @@ target_include_directories(
|
|||
$ENV{OUT_DIR}
|
||||
)
|
||||
|
||||
target_compile_definitions(
|
||||
maraiah-tycho-hermes
|
||||
PUBLIC
|
||||
-DTYCHO_VERSION=\"$ENV{CARGO_PKG_VERSION}\"
|
||||
-DTYCHO_AUTHORS=\"$ENV{CARGO_PKG_AUTHORS}\"
|
||||
)
|
||||
|
||||
target_link_libraries(
|
||||
maraiah-tycho-hermes
|
||||
Qt5::Core
|
||||
|
|
|
@ -44,6 +44,8 @@ void Menu::openAbout()
|
|||
Ui::About about{};
|
||||
|
||||
about.setupUi(&dlg);
|
||||
about.labelVer->setText(tr(TYCHO_VERSION));
|
||||
about.labelAuthors->setText(tr(TYCHO_AUTHORS));
|
||||
|
||||
dlg.exec();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue