Textractor_test/extensions/CMakeLists.txt

24 lines
1.1 KiB
CMake
Raw Normal View History

include(QtUtils)
msvc_registry_search()
find_qt5(Core Widgets)
cmake_policy(SET CMP0037 OLD)
2018-08-20 03:26:50 +08:00
2019-06-11 01:58:19 +08:00
add_library(Bing\ Translate MODULE bingtranslate.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 extensionimpl.cpp)
add_library(Lua MODULE lua.cpp extensionimpl.cpp)
add_library(Regex\ Filter MODULE regexfilter.cpp extensionimpl.cpp)
add_library(Remove\ Repetition MODULE removerepeat.cpp extensionimpl.cpp)
add_library(Replacer MODULE replacer.cpp extensionimpl.cpp)
add_library(Thread\ Linker MODULE threadlinker.cpp extensionimpl.cpp)
2018-08-20 03:26:50 +08:00
2018-11-04 11:26:27 +08:00
target_link_libraries(Bing\ Translate winhttp Qt5::Widgets)
2018-12-22 04:11:12 +08:00
target_link_libraries(Extra\ Window Qt5::Widgets)
2018-11-04 11:58:52 +08:00
target_link_libraries(Google\ Translate winhttp Qt5::Widgets)
2019-02-13 08:54:15 +08:00
target_link_libraries(Lua lua53 Qt5::Widgets)
2018-11-04 11:58:52 +08:00
target_link_libraries(Regex\ Filter Qt5::Widgets)
2019-01-23 03:35:34 +08:00
target_link_libraries(Thread\ Linker Qt5::Widgets)