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