summaryrefslogtreecommitdiff
path: root/examples/Kaleidoscope/CMakeLists.txt
blob: 3822cdd9e1c49faf47e01cc766f9d2b847ccaf0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
add_custom_target(Kaleidoscope)
set_target_properties(Kaleidoscope PROPERTIES FOLDER Examples)

macro(add_kaleidoscope_chapter name)
  add_dependencies(Kaleidoscope ${name})
  add_llvm_example(${name} ${ARGN})
endmacro(add_kaleidoscope_chapter name)

add_subdirectory(BuildingAJIT)
add_subdirectory(Chapter2)
add_subdirectory(Chapter3)
add_subdirectory(Chapter4)
add_subdirectory(Chapter5)
add_subdirectory(Chapter6)
add_subdirectory(Chapter7)
add_subdirectory(Chapter8)
add_subdirectory(Chapter9)