llvm-project/mlir/examples/toy/CMakeLists.txt

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
360 B
CMake
Raw Normal View History

add_custom_target(Toy)
set_target_properties(Toy PROPERTIES FOLDER Examples)
macro(add_toy_chapter name)
add_dependencies(Toy ${name})
add_llvm_example(${name} ${ARGN})
endmacro(add_toy_chapter name)
add_subdirectory(Ch1)
add_subdirectory(Ch2)
add_subdirectory(Ch3)
add_subdirectory(Ch4)
add_subdirectory(Ch5)
add_subdirectory(Ch6)
add_subdirectory(Ch7)