mirror of
https://github.com/Artikash/Textractor.git
synced 2024-12-24 17:34:13 +08:00
26 lines
1.3 KiB
CMake
26 lines
1.3 KiB
CMake
include(QtUtils)
|
|
msvc_registry_search()
|
|
find_qt5(Core Widgets)
|
|
|
|
cmake_policy(SET CMP0037 OLD)
|
|
|
|
add_library(Bing\ Translate MODULE bingtranslate.cpp translatewrapper.cpp network.cpp extensionimpl.cpp)
|
|
add_library(Copy\ to\ Clipboard MODULE copyclipboard.cpp extensionimpl.cpp)
|
|
add_library(Extra\ Newlines MODULE extranewlines.cpp extensionimpl.cpp)
|
|
add_library(Extra\ Window MODULE extrawindow.cpp extensionimpl.cpp)
|
|
add_library(Google\ Translate MODULE googletranslate.cpp translatewrapper.cpp network.cpp extensionimpl.cpp)
|
|
add_library(Lua MODULE lua.cpp extensionimpl.cpp)
|
|
add_library(Regex\ Filter MODULE regexfilter.cpp extensionimpl.cpp)
|
|
add_library(Remove\ Repeated\ Characters MODULE removerepeatchar.cpp extensionimpl.cpp)
|
|
add_library(Remove\ Repeated\ Phrases MODULE removerepeatphrase.cpp extensionimpl.cpp)
|
|
add_library(Remove\ 30\ Repeated\ Sentences MODULE removerepeatsentence.cpp extensionimpl.cpp)
|
|
add_library(Replacer MODULE replacer.cpp extensionimpl.cpp)
|
|
add_library(Thread\ Linker MODULE threadlinker.cpp extensionimpl.cpp)
|
|
|
|
target_link_libraries(Bing\ Translate winhttp Qt5::Widgets)
|
|
target_link_libraries(Extra\ Window Qt5::Widgets)
|
|
target_link_libraries(Google\ Translate winhttp Qt5::Widgets)
|
|
target_link_libraries(Lua lua53 Qt5::Widgets)
|
|
target_link_libraries(Regex\ Filter Qt5::Widgets)
|
|
target_link_libraries(Thread\ Linker Qt5::Widgets)
|