fixed cmake variables
parent
8452054746
commit
ee63a91604
|
@ -7,11 +7,11 @@ find_package(Qt5Widgets REQUIRED)
|
|||
set(CMAKE_AUTOMOC ON)
|
||||
set(CMAKE_AUTORCC ON)
|
||||
|
||||
qt5_wrap_ui(UI_HEADERS
|
||||
qt5_wrap_ui(LOGO_TEST_UI
|
||||
mainwindow.ui
|
||||
)
|
||||
|
||||
qt5_add_resources(UI_RESOURCES
|
||||
qt5_add_resources(LOGO_TEST_QRC
|
||||
mainwindow.qrc
|
||||
)
|
||||
|
||||
|
@ -19,8 +19,8 @@ add_executable(${PROJECT_NAME}
|
|||
LogoTest.cpp
|
||||
DataModel.cpp
|
||||
mainwindow.cpp
|
||||
${UI_HEADERS}
|
||||
${UI_RESOURCES}
|
||||
${LOGO_TEST_UI}
|
||||
${LOGO_TEST_QRC}
|
||||
)
|
||||
|
||||
set_target_properties(${PROJECT_NAME}
|
||||
|
|
|
@ -6,7 +6,7 @@ find_package(Qt5Widgets REQUIRED)
|
|||
|
||||
set(CMAKE_AUTOMOC ON)
|
||||
|
||||
qt5_wrap_ui(UI_HEADERS
|
||||
qt5_wrap_ui(GENUS_UI
|
||||
GenusWidget.ui
|
||||
)
|
||||
|
||||
|
@ -15,7 +15,7 @@ add_library(${PROJECT_NAME}
|
|||
GenusModel.cpp
|
||||
../CheckableItem.cpp
|
||||
../CheckableItems.cpp
|
||||
${UI_HEADERS}
|
||||
${GENUS_UI}
|
||||
)
|
||||
|
||||
set_target_properties(${PROJECT_NAME}
|
||||
|
|
|
@ -6,14 +6,14 @@ find_package(Qt5Widgets REQUIRED)
|
|||
|
||||
set(CMAKE_AUTOMOC ON)
|
||||
|
||||
qt5_wrap_ui(UI_HEADERS
|
||||
qt5_wrap_ui(META_DATA_UI
|
||||
MetaDataWidget.ui
|
||||
)
|
||||
|
||||
add_library(${PROJECT_NAME}
|
||||
MetaDataModel.cpp
|
||||
MetaDataWidget.cpp
|
||||
${UI_HEADERS}
|
||||
${META_DATA_UI}
|
||||
)
|
||||
|
||||
set_target_properties(${PROJECT_NAME}
|
||||
|
|
Loading…
Reference in New Issue