2026-07-10 00:38:23 -07:00
|
|
|
set(_common_sources
|
2026-07-09 09:17:30 +00:00
|
|
|
HttpHelper.h
|
|
|
|
|
HttpHelper.cpp
|
|
|
|
|
FileHelper.h
|
|
|
|
|
FileHelper.cpp
|
|
|
|
|
ConfigHelper.h
|
|
|
|
|
ConfigHelper.cpp
|
2026-07-10 02:38:04 -07:00
|
|
|
InitialStatePolicy.h
|
|
|
|
|
ManifestBootstrapPolicy.h
|
2026-07-09 09:17:30 +00:00
|
|
|
PolicyHelper.h
|
|
|
|
|
PolicyHelper.cpp
|
|
|
|
|
LocalStateHelper.h
|
|
|
|
|
LocalStateHelper.cpp
|
|
|
|
|
TicketHelper.h
|
|
|
|
|
TicketHelper.cpp
|
|
|
|
|
IntegrityHelper.h
|
|
|
|
|
IntegrityHelper.cpp
|
|
|
|
|
DeviceIdentityHelper.h
|
|
|
|
|
DeviceIdentityHelper.cpp
|
2026-07-10 00:38:23 -07:00
|
|
|
TranslationHelper.h
|
|
|
|
|
TranslationHelper.cpp
|
2026-07-09 09:17:30 +00:00
|
|
|
)
|
|
|
|
|
|
2026-07-10 00:38:23 -07:00
|
|
|
add_library(Common STATIC ${_common_sources})
|
|
|
|
|
target_compile_features(Common PUBLIC cxx_std_17)
|
|
|
|
|
target_compile_definitions(Common PUBLIC HAVE_OPENSSL=1)
|
|
|
|
|
target_include_directories(Common PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}")
|
2026-07-09 09:17:30 +00:00
|
|
|
target_link_libraries(Common
|
2026-07-10 00:38:23 -07:00
|
|
|
PUBLIC
|
|
|
|
|
Qt5::Core
|
|
|
|
|
Qt5::Network
|
|
|
|
|
Qt5::Widgets
|
|
|
|
|
OpenSSL::SSL
|
|
|
|
|
OpenSSL::Crypto
|
|
|
|
|
)
|