2018-10-17 17:36:56 -04:00
|
|
|
include(QtUtils)
|
|
|
|
msvc_registry_search()
|
|
|
|
find_qt5(Core Widgets)
|
|
|
|
|
2018-08-19 00:13:19 -04:00
|
|
|
cmake_policy(SET CMP0037 OLD)
|
2018-08-19 15:26:50 -04:00
|
|
|
|
2018-11-03 23:26:27 -04:00
|
|
|
add_library(Bing\ Translate SHARED bingtranslate/bingtranslate.cpp extensionimpl.cpp)
|
|
|
|
add_library(Copy\ to\ Clipboard SHARED copyclipboard/copyclipboard.cpp extensionimpl.cpp)
|
|
|
|
add_library(Extra\ Newlines SHARED extranewlines/extranewlines.cpp extensionimpl.cpp)
|
2018-11-03 23:58:52 -04:00
|
|
|
add_library(Google\ Translate SHARED googletranslate/googletranslate.cpp extensionimpl.cpp)
|
|
|
|
add_library(Regex\ Filter SHARED regexfilter/regexfilter.cpp regexfilter/window.cpp extensionimpl.cpp)
|
2018-11-03 23:26:27 -04:00
|
|
|
add_library(Remove\ Repetition SHARED removerepeat/removerepeat.cpp extensionimpl.cpp)
|
2018-11-04 16:37:23 -05:00
|
|
|
add_library(Thread\ Linker SHARED threadlinker/threadlinker.cpp threadlinker/window.cpp extensionimpl.cpp)
|
2018-08-19 15:26:50 -04:00
|
|
|
|
2018-11-03 23:26:27 -04:00
|
|
|
target_link_libraries(Bing\ Translate winhttp Qt5::Widgets)
|
2018-11-03 23:58:52 -04:00
|
|
|
target_link_libraries(Google\ Translate winhttp Qt5::Widgets)
|
|
|
|
target_link_libraries(Regex\ Filter Qt5::Widgets)
|
2018-11-04 16:37:23 -05:00
|
|
|
target_link_libraries(Thread\ Linker Qt5::Widgets)
|