# Auto-generated by tools/gen_part1.py — do not edit by hand.
# 章节：p01/ch07
add_executable(p1c07_01 exception_basics.cpp)
set_target_properties(p1c07_01 PROPERTIES C_STANDARD 17 C_STANDARD_REQUIRED ON C_EXTENSIONS OFF)
set_target_properties(p1c07_01 PROPERTIES CXX_STANDARD 17 CXX_STANDARD_REQUIRED ON CXX_EXTENSIONS OFF)
target_compile_options(p1c07_01 PRIVATE -Wall -Wextra)
add_executable(p1c07_02 exception_syntax.cpp)
set_target_properties(p1c07_02 PROPERTIES C_STANDARD 17 C_STANDARD_REQUIRED ON C_EXTENSIONS OFF)
set_target_properties(p1c07_02 PROPERTIES CXX_STANDARD 17 CXX_STANDARD_REQUIRED ON CXX_EXTENSIONS OFF)
target_compile_options(p1c07_02 PRIVATE -Wall -Wextra)
add_executable(p1c07_03 exception_type_matching.cpp)
set_target_properties(p1c07_03 PROPERTIES C_STANDARD 17 C_STANDARD_REQUIRED ON C_EXTENSIONS OFF)
set_target_properties(p1c07_03 PROPERTIES CXX_STANDARD 17 CXX_STANDARD_REQUIRED ON CXX_EXTENSIONS OFF)
target_compile_options(p1c07_03 PRIVATE -Wall -Wextra)
add_executable(p1c07_04 stack_unwinding.cpp)
set_target_properties(p1c07_04 PROPERTIES C_STANDARD 17 C_STANDARD_REQUIRED ON C_EXTENSIONS OFF)
set_target_properties(p1c07_04 PROPERTIES CXX_STANDARD 17 CXX_STANDARD_REQUIRED ON CXX_EXTENSIONS OFF)
target_compile_options(p1c07_04 PRIVATE -Wall -Wextra)
add_executable(p1c07_05 exception_specification.cpp)
set_target_properties(p1c07_05 PROPERTIES C_STANDARD 17 C_STANDARD_REQUIRED ON C_EXTENSIONS OFF)
set_target_properties(p1c07_05 PROPERTIES CXX_STANDARD 17 CXX_STANDARD_REQUIRED ON CXX_EXTENSIONS OFF)
target_compile_options(p1c07_05 PRIVATE -Wall -Wextra)
add_executable(p1c07_06 exception_variable_lifetime.cpp)
set_target_properties(p1c07_06 PROPERTIES C_STANDARD 17 C_STANDARD_REQUIRED ON C_EXTENSIONS OFF)
set_target_properties(p1c07_06 PROPERTIES CXX_STANDARD 17 CXX_STANDARD_REQUIRED ON CXX_EXTENSIONS OFF)
target_compile_options(p1c07_06 PRIVATE -Wall -Wextra)
add_executable(p1c07_07 exception_polymorphism.cpp)
set_target_properties(p1c07_07 PROPERTIES C_STANDARD 17 C_STANDARD_REQUIRED ON C_EXTENSIONS OFF)
set_target_properties(p1c07_07 PROPERTIES CXX_STANDARD 17 CXX_STANDARD_REQUIRED ON CXX_EXTENSIONS OFF)
target_compile_options(p1c07_07 PRIVATE -Wall -Wextra)
add_executable(p1c07_08 std_exception_library.cpp)
set_target_properties(p1c07_08 PROPERTIES C_STANDARD 17 C_STANDARD_REQUIRED ON C_EXTENSIONS OFF)
set_target_properties(p1c07_08 PROPERTIES CXX_STANDARD 17 CXX_STANDARD_REQUIRED ON CXX_EXTENSIONS OFF)
target_compile_options(p1c07_08 PRIVATE -Wall -Wextra)
add_executable(p1c07_09 custom_exception_class.cpp)
set_target_properties(p1c07_09 PROPERTIES C_STANDARD 17 C_STANDARD_REQUIRED ON C_EXTENSIONS OFF)
set_target_properties(p1c07_09 PROPERTIES CXX_STANDARD 17 CXX_STANDARD_REQUIRED ON CXX_EXTENSIONS OFF)
target_compile_options(p1c07_09 PRIVATE -Wall -Wextra)
add_custom_target(all_p01_ch07 DEPENDS p1c07_01 p1c07_02 p1c07_03 p1c07_04 p1c07_05 p1c07_06 p1c07_07 p1c07_08 p1c07_09)
