mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-02 05:38:06 -06:00
38 lines
737 B
CMake
38 lines
737 B
CMake
include_directories(
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
|
${CMAKE_CURRENT_SOURCE_DIR}/..
|
|
${CMAKE_CURRENT_SOURCE_DIR}/../lineedit/src
|
|
)
|
|
|
|
set(QBT_SEARCHENGINE_FORMS
|
|
pluginselectdlg.ui
|
|
pluginsourcedlg.ui
|
|
searchwidget.ui
|
|
)
|
|
|
|
set(QBT_SEARCHENGINE_HEADERS
|
|
pluginselectdlg.h
|
|
pluginsourcedlg.h
|
|
searchlistdelegate.h
|
|
searchsortmodel.h
|
|
searchtab.h
|
|
searchwidget.h
|
|
)
|
|
|
|
set(QBT_SEARCHENGINE_SOURCES
|
|
pluginselectdlg.cpp
|
|
pluginsourcedlg.cpp
|
|
searchlistdelegate.cpp
|
|
searchsortmodel.cpp
|
|
searchtab.cpp
|
|
searchwidget.cpp
|
|
)
|
|
|
|
set(QBT_SEARCHENGINE_RESOURCES
|
|
# search.qrc
|
|
)
|
|
|
|
add_library(qbt_searchengine STATIC ${QBT_SEARCHENGINE_HEADERS} ${QBT_SEARCHENGINE_SOURCES} ${QBT_SEARCHENGINE_RESOURCES} ${QBT_SEARCHENGINE_FORMS})
|
|
target_link_libraries(qbt_searchengine qbt_base)
|
|
|