Textractor_test/extensions/CMakeLists.txt

26 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-19 15:26:50 -04: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-21 15:11:12 -05:00
add_library(Extra\ Window SHARED extrawindow.cpp extensionimpl.cpp)
add_library(Google\ Translate SHARED googletranslate.cpp extensionimpl.cpp)
2019-02-12 19:54:15 -05:00
add_library(Lua SHARED lua.cpp extensionimpl.cpp)
add_library(Regex\ Filter SHARED regexfilter.cpp extensionimpl.cpp)
add_library(Remove\ Repetition SHARED removerepeat.cpp extensionimpl.cpp)
2019-01-23 16:11:14 -05:00
add_library(Replacer SHARED replacer.cpp extensionimpl.cpp)
2019-01-22 14:35:34 -05:00
add_library(Thread\ Linker SHARED threadlinker.cpp extensionimpl.cpp)
2018-08-19 15:26:50 -04:00
add_executable(Extension_Tests extensiontester.cpp)
2018-11-03 23:26:27 -04:00
target_link_libraries(Bing\ 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)