# Auto-generated by tools/gen_part3.py — do not edit by hand.
# 章节：p03/ch09
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
add_executable(mouse_event mouse_event.cpp)
set_target_properties(mouse_event PROPERTIES CXX_STANDARD 17 CXX_STANDARD_REQUIRED ON CXX_EXTENSIONS OFF AUTOMOC ON)
target_link_libraries(mouse_event PRIVATE Qt5::Core Qt5::Gui Qt5::Widgets)
target_compile_options(mouse_event PRIVATE -Wall -Wextra)
add_executable(event_override_customwidget event_override_customwidget.cpp)
set_target_properties(event_override_customwidget PROPERTIES CXX_STANDARD 17 CXX_STANDARD_REQUIRED ON CXX_EXTENSIONS OFF AUTOMOC ON)
target_link_libraries(event_override_customwidget PRIVATE Qt5::Core Qt5::Gui Qt5::Widgets)
target_compile_options(event_override_customwidget PRIVATE -Wall -Wextra)
add_executable(event_filter_mainwindow event_filter_mainwindow.cpp)
set_target_properties(event_filter_mainwindow PROPERTIES CXX_STANDARD 17 CXX_STANDARD_REQUIRED ON CXX_EXTENSIONS OFF AUTOMOC ON)
target_link_libraries(event_filter_mainwindow PRIVATE Qt5::Core Qt5::Gui Qt5::Widgets)
target_compile_options(event_filter_mainwindow PRIVATE -Wall -Wextra)
add_custom_target(all_p03_ch09 DEPENDS mouse_event event_override_customwidget event_filter_mainwindow)
