2022-09-28 21:49:30 +00:00
|
|
|
list(APPEND TARGET_RESSOURCES
|
2022-09-29 15:59:07 +00:00
|
|
|
layouts.qrc)
|
2022-09-28 21:49:30 +00:00
|
|
|
|
|
|
|
list(APPEND TARGET_HEADERS
|
|
|
|
TestRectangle.h
|
|
|
|
ButtonBox.h
|
|
|
|
FlowLayoutPage.h
|
|
|
|
GridLayoutPage.h
|
|
|
|
LinearLayoutPage.h
|
|
|
|
DynamicConstraintsPage.h
|
2022-09-29 15:59:07 +00:00
|
|
|
StackLayoutPage.h)
|
2022-09-28 21:49:30 +00:00
|
|
|
|
|
|
|
list(APPEND TARGET_SOURCES
|
|
|
|
TestRectangle.cpp
|
|
|
|
ButtonBox.cpp
|
|
|
|
FlowLayoutPage.cpp
|
|
|
|
GridLayoutPage.cpp
|
|
|
|
LinearLayoutPage.cpp
|
|
|
|
DynamicConstraintsPage.cpp
|
|
|
|
StackLayoutPage.cpp
|
2022-09-29 15:59:07 +00:00
|
|
|
main.cpp)
|
|
|
|
|
|
|
|
set(TARGET_NAME layouts)
|
|
|
|
|
|
|
|
add_executable(${TARGET_NAME} ${TARGET_SOURCES} ${TARGET_HEADERS} ${TARGET_RESSOURCES})
|
|
|
|
|
|
|
|
set_target_properties(${TARGET_NAME}
|
|
|
|
PROPERTIES
|
|
|
|
AUTOMOC ON
|
|
|
|
AUTORCC ON
|
|
|
|
FOLDER examples)
|
|
|
|
|
|
|
|
target_link_libraries(${TARGET_NAME}
|
|
|
|
PRIVATE
|
|
|
|
qskinny
|
|
|
|
qskqmlexport
|
|
|
|
qsktestsupport)
|