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