# Auto-generated by tools/gen_part3.py — do not edit by hand.
# 章节：p03/ch08
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
add_executable(label_text_create label_text_create.cpp)
set_target_properties(label_text_create PROPERTIES CXX_STANDARD 17 CXX_STANDARD_REQUIRED ON CXX_EXTENSIONS OFF AUTOMOC ON)
target_link_libraries(label_text_create PRIVATE Qt5::Core Qt5::Gui Qt5::Widgets)
target_compile_options(label_text_create PRIVATE -Wall -Wextra)
add_executable(label_text_html label_text_html.cpp)
set_target_properties(label_text_html PROPERTIES CXX_STANDARD 17 CXX_STANDARD_REQUIRED ON CXX_EXTENSIONS OFF AUTOMOC ON)
target_link_libraries(label_text_html PRIVATE Qt5::Core Qt5::Gui Qt5::Widgets)
target_compile_options(label_text_html PRIVATE -Wall -Wextra)
qt5_add_resources(RES label_pixmap.qrc)
add_executable(label_pixmap label_pixmap.cpp ${RES})
set_target_properties(label_pixmap PROPERTIES CXX_STANDARD 17 CXX_STANDARD_REQUIRED ON CXX_EXTENSIONS OFF AUTOMOC ON)
target_link_libraries(label_pixmap PRIVATE Qt5::Core Qt5::Gui Qt5::Widgets)
target_compile_options(label_pixmap PRIVATE -Wall -Wextra)
qt5_add_resources(RES label_movie.qrc)
add_executable(label_movie label_movie.cpp ${RES})
set_target_properties(label_movie PROPERTIES CXX_STANDARD 17 CXX_STANDARD_REQUIRED ON CXX_EXTENSIONS OFF AUTOMOC ON)
target_link_libraries(label_movie PRIVATE Qt5::Core Qt5::Gui Qt5::Widgets)
target_compile_options(label_movie PRIVATE -Wall -Wextra)
add_executable(custom_widget custom_widget.cpp)
set_target_properties(custom_widget PROPERTIES CXX_STANDARD 17 CXX_STANDARD_REQUIRED ON CXX_EXTENSIONS OFF AUTOMOC ON)
target_link_libraries(custom_widget PRIVATE Qt5::Core Qt5::Gui Qt5::Widgets)
target_compile_options(custom_widget PRIVATE -Wall -Wextra)
add_custom_target(all_p03_ch08 DEPENDS label_text_create label_text_html label_pixmap label_movie custom_widget)
