mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
27 lines
718 B
CMake
27 lines
718 B
CMake
add_subdirectory(qhttp)
|
|
|
|
if(WITH_XC_HTTP)
|
|
include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR})
|
|
|
|
set(keepasshttp_SOURCES
|
|
AccessControlDialog.cpp
|
|
EntryConfig.cpp
|
|
HttpPasswordGeneratorWidget.cpp
|
|
HttpSettings.cpp
|
|
OptionDialog.cpp
|
|
Protocol.cpp
|
|
Server.cpp
|
|
Service.cpp
|
|
)
|
|
set(keepasshttp_FORMS
|
|
AccessControlDialog.ui
|
|
HttpPasswordGeneratorWidget.ui
|
|
OptionDialog.ui
|
|
)
|
|
|
|
qt5_wrap_ui(keepasshttp_SOURCES ${keepasshttp_FORMS})
|
|
|
|
add_library(keepasshttp STATIC ${keepasshttp_SOURCES})
|
|
target_link_libraries(keepasshttp qhttp Qt5::Core Qt5::Concurrent Qt5::Widgets Qt5::Network)
|
|
endif()
|