mirror of
https://github.com/Artikash/Textractor.git
synced 2024-12-24 01:14:12 +08:00
18 lines
392 B
CMake
18 lines
392 B
CMake
include(QtUtils)
|
|
msvc_registry_search()
|
|
find_qt5(Core Widgets)
|
|
|
|
set(RESOURCE_FILES NextHooker.rc NextHooker.ico)
|
|
# Populate a CMake variable with the sources
|
|
set(gui_SRCS
|
|
main.cpp
|
|
mainwindow.cpp
|
|
misc.cpp
|
|
extensions.cpp
|
|
${RESOURCE_FILES}
|
|
)
|
|
add_executable(${PROJECT_NAME} WIN32 ${gui_SRCS})
|
|
target_link_libraries(${PROJECT_NAME} Qt5::Widgets vnrhost)
|
|
|
|
install_qt5_libs(${PROJECT_NAME})
|