37 lines
872 B
CMake
37 lines
872 B
CMake
set(_common_sources
|
|
HttpHelper.h
|
|
HttpHelper.cpp
|
|
FileHelper.h
|
|
FileHelper.cpp
|
|
ConfigHelper.h
|
|
ConfigHelper.cpp
|
|
InitialStatePolicy.h
|
|
ManifestBootstrapPolicy.h
|
|
RuntimeProtectionPolicy.h
|
|
PolicyHelper.h
|
|
PolicyHelper.cpp
|
|
LocalStateHelper.h
|
|
LocalStateHelper.cpp
|
|
TicketHelper.h
|
|
TicketHelper.cpp
|
|
IntegrityHelper.h
|
|
IntegrityHelper.cpp
|
|
DeviceIdentityHelper.h
|
|
DeviceIdentityHelper.cpp
|
|
TranslationHelper.h
|
|
TranslationHelper.cpp
|
|
)
|
|
|
|
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}")
|
|
target_link_libraries(Common
|
|
PUBLIC
|
|
Qt5::Core
|
|
Qt5::Network
|
|
Qt5::Widgets
|
|
OpenSSL::SSL
|
|
OpenSSL::Crypto
|
|
)
|