Textractor/GUI/CMakeLists.txt

21 lines
516 B
CMake
Raw Normal View History

2018-07-28 09:25:32 +03:00
include(QtUtils)
msvc_registry_search()
find_qt5(Core Widgets)
2019-02-18 23:12:12 -05:00
add_executable(${PROJECT_NAME} WIN32
2018-07-28 09:25:32 +03:00
main.cpp
mainwindow.cpp
extenwindow.cpp
host/exception.cpp
2018-11-22 15:54:11 -05:00
host/host.cpp
host/textthread.cpp
host/util.cpp
2019-02-18 23:12:12 -05:00
Textractor.rc
Textractor.ico
2018-07-28 09:25:32 +03:00
)
2019-02-25 00:08:20 -05:00
target_compile_options(${PROJECT_NAME} PRIVATE $<$<CONFIG:RelWithDebInfo>:/GL>)
target_link_libraries(${PROJECT_NAME} Qt5::Widgets shell32 winhttp $<$<CONFIG:RelWithDebInfo>:-LTCG>)
2018-07-28 09:25:32 +03:00
2019-02-20 02:19:30 -05:00
install_qt5_libs(${PROJECT_NAME}) # can be commented out for consecutive builds