Textractor_test/GUI/CMakeLists.txt
Akash Mozumdar 23736478c0 rename
2018-09-29 16:05:08 -04:00

21 lines
443 B
CMake

include(QtUtils)
msvc_registry_search()
find_qt5(Core Widgets)
set(RESOURCE_FILES Textractor.rc Textractor.ico)
add_compile_options(/GL)
# Populate a CMake variable with the sources
set(gui_SRCS
main.cpp
mainwindow.cpp
misc.cpp
extensions.cpp
host/host.cc
host/textthread.cc
${RESOURCE_FILES}
)
add_executable(${PROJECT_NAME} WIN32 ${gui_SRCS})
target_link_libraries(${PROJECT_NAME} Qt5::Widgets)
install_qt5_libs(${PROJECT_NAME})