1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-25 13:57:45 +00:00
astra/launcher/desktop/CMakeLists.txt
Joshua Goins 5ee036dd09 Add option to generate OTP codes automatically
* This uses the great libcotp library, I stripped it down to fit inside
the repository.
* This is a security-convenience trade-off, and it's made very clear
with the tooltips on the settings page.
* It's still secured by your system keychain, and it's up to the users
whether that's good enough for them. Eventually down the line
I would like to support more esoteric keychains such as Bitwarden or
KeePass.
* Right now it's only integrated into the auto-login desktop feature,
but there will eventually be like an "auto-fill OTP" button in the main
window.

There's still a lot to clean up with these new features but they work
a little at least :-)
2022-08-31 21:19:25 -04:00

29 lines
No EOL
805 B
CMake

set(HEADERS
include/aboutwindow.h
include/assetupdater.h
include/bannerwidget.h
include/desktopinterface.h
include/gamescopesettingswindow.h
include/launcherwindow.h
include/settingswindow.h
include/autologinwindow.h)
set(SRC
src/aboutwindow.cpp
src/assetupdater.cpp
src/bannerwidget.cpp
src/desktopinterface.cpp
src/gamescopesettingswindow.cpp
src/launcherwindow.cpp
src/settingswindow.cpp
src/autologinwindow.cpp)
add_library(astra_desktop STATIC ${HEADERS} ${SRC})
target_include_directories(astra_desktop PUBLIC include)
target_link_libraries(astra_desktop PUBLIC
astra_core
Qt5::Core
Qt5::Widgets
Qt5::Network
cotp
crypto)