2018-07-14 14:03:35 +02:00
|
|
|
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
|
|
|
|
|
|
|
# Instruct CMake to run moc automatically when needed
|
|
|
|
set(CMAKE_AUTOMOC ON)
|
|
|
|
# Create code from a list of Qt designer ui files
|
|
|
|
set(CMAKE_AUTOUIC ON)
|
|
|
|
|
|
|
|
# Find the QtWidgets library
|
|
|
|
find_package(Qt5Widgets CONFIG REQUIRED)
|
2018-07-06 10:54:22 +02:00
|
|
|
|
|
|
|
set(GUI_SOURCES
|
|
|
|
kima2.cpp
|
2018-07-14 14:03:35 +02:00
|
|
|
mainwindow.cpp
|
|
|
|
mainwindow.ui
|
2018-07-16 12:00:17 +02:00
|
|
|
sellerdialog.cpp
|
|
|
|
sellerdialog.ui
|
|
|
|
sellermodel.cpp
|
2018-07-06 10:54:22 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
add_executable(kima2 ${GUI_SOURCES})
|
2018-07-17 10:19:41 +02:00
|
|
|
target_link_libraries(kima2 core Qt5::Widgets stdc++fs)
|