X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=examples%2FKaleidoscope%2FChapter7%2FCMakeLists.txt;h=e67d7928efe79539522bb8e955de6c522469aa31;hb=8c46d7964e996f60e4cf0f8ee08be5da22ddf1a3;hp=3c4ac17d93ee5c61775cabdde348af444b2879c9;hpb=4e9c939312ff73bd0c6a6485fd5f97012f5910fa;p=oota-llvm.git diff --git a/examples/Kaleidoscope/Chapter7/CMakeLists.txt b/examples/Kaleidoscope/Chapter7/CMakeLists.txt index 3c4ac17d93e..e67d7928efe 100644 --- 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 ) -add_llvm_link_components(Kaleidoscope-Ch7 jit interpreter native) -target_link_libraries(Kaleidoscope-Ch7 LLVMCore) +export_executable_symbols(Kaleidoscope-Ch7)