2018-07-28 09:25:32 +03:00
|
|
|
include(QtUtils)
|
|
|
|
msvc_registry_search()
|
|
|
|
find_qt5(Core Widgets)
|
|
|
|
|
2019-06-07 02:19:51 -04:00
|
|
|
add_executable(Textractor WIN32
|
2018-07-28 09:25:32 +03:00
|
|
|
main.cpp
|
|
|
|
mainwindow.cpp
|
2020-09-09 14:54:15 -06:00
|
|
|
extenwindow.cpp
|
2019-01-31 11:41:43 -05:00
|
|
|
host/exception.cpp
|
2018-11-22 15:54:11 -05:00
|
|
|
host/host.cpp
|
|
|
|
host/textthread.cpp
|
2020-02-28 00:34:34 -07:00
|
|
|
host/hookcode.cpp
|
2019-02-18 23:12:12 -05:00
|
|
|
Textractor.rc
|
|
|
|
Textractor.ico
|
2018-07-28 09:25:32 +03:00
|
|
|
)
|
2020-04-18 19:04:07 -06:00
|
|
|
target_precompile_headers(Textractor REUSE_FROM pch)
|
2021-01-15 06:07:23 -07:00
|
|
|
target_link_libraries(Textractor Qt5::Widgets shell32 winhttp)
|
2019-02-25 00:08:20 -05:00
|
|
|
|
2019-05-24 13:30:12 -04:00
|
|
|
if (NOT EXISTS ${CMAKE_FINAL_OUTPUT_DIRECTORY}/Qt5Core.dll)
|
|
|
|
if (NOT EXISTS ${CMAKE_FINAL_OUTPUT_DIRECTORY}/Qt5Cored.dll)
|
2021-01-15 06:07:23 -07:00
|
|
|
install_qt5_libs(Textractor)
|
2019-05-24 13:30:12 -04:00
|
|
|
endif()
|
|
|
|
endif()
|