llvm.org GIT mirror llvm / c182476
cmake: Add Kaleidoscope target git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225318 91177308-0d34-0410-b5e6-96231b3b80d8 Duncan P. N. Exon Smith 4 years ago
8 changed file(s) with 14 addition(s) and 7 deletion(s). Raw diff Collapse all Expand all
0 add_custom_target(Kaleidoscope)
1
2 macro(add_kaleidoscope_chapter name)
3 add_dependencies(Kaleidoscope ${name})
4 add_llvm_example(${name} ${ARGN})
5 endmacro(add_kaleidoscope_chapter name)
6
7 add_subdirectory(Chapter2)
18 add_subdirectory(Chapter3)
29 add_subdirectory(Chapter4)
None add_llvm_example(Kaleidoscope-Ch2
0 add_kaleidoscope_chapter(Kaleidoscope-Ch2
11 toy.cpp
22 )
22 Support
33 )
44
5 add_llvm_example(Kaleidoscope-Ch3
5 add_kaleidoscope_chapter(Kaleidoscope-Ch3
66 toy.cpp
77 )
99 mcjit
1010 )
1111
12 add_llvm_example(Kaleidoscope-Ch4
12 add_kaleidoscope_chapter(Kaleidoscope-Ch4
1313 toy.cpp
1414 )
99 mcjit
1010 )
1111
12 add_llvm_example(Kaleidoscope-Ch5
12 add_kaleidoscope_chapter(Kaleidoscope-Ch5
1313 toy.cpp
1414 )
99 mcjit
1010 )
1111
12 add_llvm_example(Kaleidoscope-Ch6
12 add_kaleidoscope_chapter(Kaleidoscope-Ch6
1313 toy.cpp
1414 )
1212
1313 set(LLVM_REQUIRES_RTTI 1)
1414
15 add_llvm_example(Kaleidoscope-Ch7
15 add_kaleidoscope_chapter(Kaleidoscope-Ch7
1616 toy.cpp
1717 )
1212
1313 set(LLVM_REQUIRES_RTTI 1)
1414
15 add_llvm_example(Kaleidoscope-Ch8
15 add_kaleidoscope_chapter(Kaleidoscope-Ch8
1616 toy.cpp
1717 )