feat, build: update cmake files

This commit is contained in:
august-alt 2021-09-08 19:24:28 +04:00
parent 1eb7ec3d54
commit abc1f3c50c
2 changed files with 11 additions and 1 deletions

View File

@ -6,19 +6,24 @@ find_package(Qt5 COMPONENTS Core Widgets REQUIRED)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(HEADERS
commonroles.h
commonwidget.h
preferencesdialog.h
)
set(SOURCES
commonwidget.cpp
preferencesdialog.cpp
)
set(UI_FORMS
commonwidget.ui
preferencesdialog.ui
)
set(MOC_HEADERS
commonwidget.h
preferencesdialog.h
)
qt5_wrap_ui(UI_SOURCES ${UI_FORMS})

View File

@ -6,10 +6,15 @@ find_package(Qt5 COMPONENTS Core Widgets REQUIRED)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(HEADERS
shortcutswidget.h
modelbuilder.h
shortcutroles.h
shortcutsschema.h
shortcutswidget.h
)
set(SOURCES
modelbuilder.cpp
shortcutsschema.cpp
shortcutswidget.cpp
)