1add_custom_target(Toy) 2set_target_properties(Toy PROPERTIES FOLDER Examples) 3 4macro(add_toy_chapter name) 5 add_dependencies(Toy ${name}) 6 add_llvm_example(${name} ${ARGN}) 7endmacro(add_toy_chapter name) 8 9add_subdirectory(Ch1) 10add_subdirectory(Ch2) 11add_subdirectory(Ch3) 12add_subdirectory(Ch4) 13add_subdirectory(Ch5) 14add_subdirectory(Ch6) 15add_subdirectory(Ch7) 16