2018-10-18 05:36:56 +08:00
|
|
|
include(QtUtils)
|
|
|
|
msvc_registry_search()
|
|
|
|
find_qt5(Core Widgets)
|
|
|
|
|
2018-08-19 12:13:19 +08:00
|
|
|
cmake_policy(SET CMP0037 OLD)
|
2018-08-20 03:26:50 +08:00
|
|
|
|
2018-12-18 09:48:14 +08:00
|
|
|
add_library(Bing\ Translate SHARED bingtranslate.cpp extensionimpl.cpp)
|
|
|
|
add_library(Copy\ to\ Clipboard SHARED copyclipboard.cpp extensionimpl.cpp)
|
|
|
|
add_library(Extra\ Newlines SHARED extranewlines.cpp extensionimpl.cpp)
|
2018-12-22 04:11:12 +08:00
|
|
|
add_library(Extra\ Window SHARED extrawindow.cpp extensionimpl.cpp)
|
2018-12-18 09:48:14 +08:00
|
|
|
add_library(Google\ Translate SHARED googletranslate.cpp extensionimpl.cpp)
|
2019-02-13 08:54:15 +08:00
|
|
|
add_library(Lua SHARED lua.cpp extensionimpl.cpp)
|
2018-12-18 09:48:14 +08:00
|
|
|
add_library(Regex\ Filter SHARED regexfilter.cpp extensionimpl.cpp)
|
|
|
|
add_library(Remove\ Repetition SHARED removerepeat.cpp extensionimpl.cpp)
|
2019-01-24 05:11:14 +08:00
|
|
|
add_library(Replacer SHARED replacer.cpp extensionimpl.cpp)
|
2019-01-23 03:35:34 +08:00
|
|
|
add_library(Thread\ Linker SHARED threadlinker.cpp extensionimpl.cpp)
|
2018-08-20 03:26:50 +08:00
|
|
|
|
2018-12-29 00:57:06 +08:00
|
|
|
add_executable(Extension_Tests extensiontester.cpp)
|
|
|
|
|
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)
|