IR: de-duplicate two CmpInst routines (NFC) (#116866)
[llvm-project.git] / llvm / examples / Kaleidoscope / CMakeLists.txt
blob3cc6733c7d30760915fd0799759f2c00a456fe12
1 add_custom_target(Kaleidoscope)
2 set_target_properties(Kaleidoscope PROPERTIES FOLDER "LLVM/Examples")
4 macro(add_kaleidoscope_chapter name)
5   add_dependencies(Kaleidoscope ${name})
6   add_llvm_example(${name} EXPORT_SYMBOLS ${ARGN})
7 endmacro(add_kaleidoscope_chapter name)
9 add_subdirectory(BuildingAJIT)
10 add_subdirectory(Chapter2)
11 add_subdirectory(Chapter3)
12 add_subdirectory(Chapter4)
13 add_subdirectory(Chapter5)
14 add_subdirectory(Chapter6)
15 add_subdirectory(Chapter7)
16 add_subdirectory(Chapter8)
17 add_subdirectory(Chapter9)