kima2/src/gui/CMakeLists.txt

24 lines
518 B
CMake
Raw Normal View History

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
2018-07-21 21:18:22 +02:00
mainwindow.ui
2018-07-16 12:00:17 +02:00
sellerdialog.cpp
2018-07-21 21:18:22 +02:00
sellerdialog.ui
2018-07-16 12:00:17 +02:00
sellermodel.cpp
2018-07-21 19:24:56 +02:00
pricedialog.cpp
2018-07-21 21:18:22 +02:00
pricedialog.ui
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)