projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Recommit r246175 - Add Kaleidoscope regression tests, with a fix to make sure
[oota-llvm.git]
/
examples
/
Kaleidoscope
/
Chapter7
/
CMakeLists.txt
diff --git
a/examples/Kaleidoscope/Chapter7/CMakeLists.txt
b/examples/Kaleidoscope/Chapter7/CMakeLists.txt
index 3c4ac17d93ee5c61775cabdde348af444b2879c9..e67d7928efe79539522bb8e955de6c522469aa31 100644
(file)
--- a/
examples/Kaleidoscope/Chapter7/CMakeLists.txt
+++ b/
examples/Kaleidoscope/Chapter7/CMakeLists.txt
@@
-1,6
+1,17
@@
-add_llvm_example(Kaleidoscope-Ch7
+set(LLVM_LINK_COMPONENTS
+ Analysis
+ Core
+ ExecutionEngine
+ InstCombine
+ Object
+ RuntimeDyld
+ ScalarOpts
+ Support
+ native
+ )
+
+add_kaleidoscope_chapter(Kaleidoscope-Ch7
toy.cpp
)
toy.cpp
)
-add_llvm_link_components(Kaleidoscope-Ch7 jit interpreter native)
-target_link_libraries(Kaleidoscope-Ch7 LLVMCore)
+export_executable_symbols(Kaleidoscope-Ch7)