# Auto-generated by tools/gen_part3.py — do not edit by hand.
# 章节：p03/ch06
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
add_executable(modal_dialog modal_dialog.cpp)
set_target_properties(modal_dialog PROPERTIES CXX_STANDARD 17 CXX_STANDARD_REQUIRED ON CXX_EXTENSIONS OFF AUTOMOC ON)
target_link_libraries(modal_dialog PRIVATE Qt5::Core Qt5::Gui Qt5::Widgets)
target_compile_options(modal_dialog PRIVATE -Wall -Wextra)
add_executable(modeless_dialog_stack modeless_dialog_stack.cpp)
set_target_properties(modeless_dialog_stack PROPERTIES CXX_STANDARD 17 CXX_STANDARD_REQUIRED ON CXX_EXTENSIONS OFF AUTOMOC ON)
target_link_libraries(modeless_dialog_stack PRIVATE Qt5::Core Qt5::Gui Qt5::Widgets)
target_compile_options(modeless_dialog_stack PRIVATE -Wall -Wextra)
add_executable(modeless_dialog_heap modeless_dialog_heap.cpp)
set_target_properties(modeless_dialog_heap PROPERTIES CXX_STANDARD 17 CXX_STANDARD_REQUIRED ON CXX_EXTENSIONS OFF AUTOMOC ON)
target_link_libraries(modeless_dialog_heap PRIVATE Qt5::Core Qt5::Gui Qt5::Widgets)
target_compile_options(modeless_dialog_heap PRIVATE -Wall -Wextra)
add_executable(modeless_dialog_deleteonclose modeless_dialog_deleteonclose.cpp)
set_target_properties(modeless_dialog_deleteonclose PROPERTIES CXX_STANDARD 17 CXX_STANDARD_REQUIRED ON CXX_EXTENSIONS OFF AUTOMOC ON)
target_link_libraries(modeless_dialog_deleteonclose PRIVATE Qt5::Core Qt5::Gui Qt5::Widgets)
target_compile_options(modeless_dialog_deleteonclose PRIVATE -Wall -Wextra)
add_executable(message_box_question message_box_question.cpp)
set_target_properties(message_box_question PROPERTIES CXX_STANDARD 17 CXX_STANDARD_REQUIRED ON CXX_EXTENSIONS OFF AUTOMOC ON)
target_link_libraries(message_box_question PRIVATE Qt5::Core Qt5::Gui Qt5::Widgets)
target_compile_options(message_box_question PRIVATE -Wall -Wextra)
add_executable(message_box_custom message_box_custom.cpp)
set_target_properties(message_box_custom PROPERTIES CXX_STANDARD 17 CXX_STANDARD_REQUIRED ON CXX_EXTENSIONS OFF AUTOMOC ON)
target_link_libraries(message_box_custom PRIVATE Qt5::Core Qt5::Gui Qt5::Widgets)
target_compile_options(message_box_custom PRIVATE -Wall -Wextra)
add_executable(file_dialog file_dialog.cpp)
set_target_properties(file_dialog PROPERTIES CXX_STANDARD 17 CXX_STANDARD_REQUIRED ON CXX_EXTENSIONS OFF AUTOMOC ON)
target_link_libraries(file_dialog PRIVATE Qt5::Core Qt5::Gui Qt5::Widgets)
target_compile_options(file_dialog PRIVATE -Wall -Wextra)
add_custom_target(all_p03_ch06 DEPENDS modal_dialog modeless_dialog_stack modeless_dialog_heap modeless_dialog_deleteonclose message_box_question message_box_custom file_dialog)
