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
|
|
|
|
2019-06-13 04:01:29 -04:00
|
|
|
add_library(Bing\ Translate MODULE bingtranslate.cpp translatewrapper.cpp network.cpp extensionimpl.cpp)
|
2019-06-10 13:58:19 -04:00
|
|
|
add_library(Copy\ to\ Clipboard MODULE copyclipboard.cpp extensionimpl.cpp)
|
2020-03-26 05:41:21 -06:00
|
|
|
add_library(DeepL\ Translate MODULE deepltranslate.cpp translatewrapper.cpp network.cpp extensionimpl.cpp)
|
2019-06-10 13:58:19 -04:00
|
|
|
add_library(Extra\ Newlines MODULE extranewlines.cpp extensionimpl.cpp)
|
|
|
|
add_library(Extra\ Window MODULE extrawindow.cpp extensionimpl.cpp)
|
2019-06-13 04:01:29 -04:00
|
|
|
add_library(Google\ Translate MODULE googletranslate.cpp translatewrapper.cpp network.cpp extensionimpl.cpp)
|
2019-06-10 13:58:19 -04:00
|
|
|
add_library(Lua MODULE lua.cpp extensionimpl.cpp)
|
|
|
|
add_library(Regex\ Filter MODULE regexfilter.cpp extensionimpl.cpp)
|
2019-06-13 13:06:34 -04:00
|
|
|
add_library(Remove\ Repeated\ Characters MODULE removerepeatchar.cpp extensionimpl.cpp)
|
|
|
|
add_library(Remove\ Repeated\ Phrases MODULE removerepeatphrase.cpp extensionimpl.cpp)
|
2019-08-07 14:05:50 -04:00
|
|
|
add_library(Remove\ Repeated\ Phrases\ 2 MODULE removerepeatphrase2.cpp extensionimpl.cpp)
|
2019-06-13 13:06:34 -04:00
|
|
|
add_library(Remove\ 30\ Repeated\ Sentences MODULE removerepeatsentence.cpp extensionimpl.cpp)
|
2019-06-10 13:58:19 -04:00
|
|
|
add_library(Replacer MODULE replacer.cpp extensionimpl.cpp)
|
|
|
|
add_library(Thread\ Linker MODULE threadlinker.cpp extensionimpl.cpp)
|
2018-08-19 15:26:50 -04:00
|
|
|
|
2020-04-18 19:04:07 -06:00
|
|
|
target_precompile_headers(Bing\ Translate REUSE_FROM pch)
|
|
|
|
target_precompile_headers(Copy\ to\ Clipboard REUSE_FROM pch)
|
|
|
|
target_precompile_headers(DeepL\ Translate REUSE_FROM pch)
|
|
|
|
target_precompile_headers(Extra\ Newlines REUSE_FROM pch)
|
|
|
|
target_precompile_headers(Extra\ Window REUSE_FROM pch)
|
|
|
|
target_precompile_headers(Google\ Translate REUSE_FROM pch)
|
|
|
|
target_precompile_headers(Lua REUSE_FROM pch)
|
|
|
|
target_precompile_headers(Regex\ Filter REUSE_FROM pch)
|
|
|
|
target_precompile_headers(Remove\ Repeated\ Characters REUSE_FROM pch)
|
|
|
|
target_precompile_headers(Remove\ Repeated\ Phrases REUSE_FROM pch)
|
|
|
|
target_precompile_headers(Remove\ Repeated\ Phrases\ 2 REUSE_FROM pch)
|
|
|
|
target_precompile_headers(Remove\ 30\ Repeated\ Sentences REUSE_FROM pch)
|
|
|
|
target_precompile_headers(Replacer REUSE_FROM pch)
|
|
|
|
target_precompile_headers(Thread\ Linker REUSE_FROM pch)
|
|
|
|
|
2018-11-03 23:26:27 -04:00
|
|
|
target_link_libraries(Bing\ Translate winhttp Qt5::Widgets)
|
2020-03-26 05:41:21 -06:00
|
|
|
target_link_libraries(DeepL\ Translate winhttp Qt5::Widgets)
|
2018-12-21 15:11:12 -05:00
|
|
|
target_link_libraries(Extra\ Window Qt5::Widgets)
|
2018-11-03 23:58:52 -04:00
|
|
|
target_link_libraries(Google\ Translate winhttp Qt5::Widgets)
|
2019-02-12 19:54:15 -05:00
|
|
|
target_link_libraries(Lua lua53 Qt5::Widgets)
|
2018-11-03 23:58:52 -04:00
|
|
|
target_link_libraries(Regex\ Filter Qt5::Widgets)
|
2019-01-22 14:35:34 -05:00
|
|
|
target_link_libraries(Thread\ Linker Qt5::Widgets)
|