llvm/examples/Kaleidoscope/Chapter2/CMakeLists.txt
Lang Hames 4cd6605af1 [Kaleidoscope] Make Chapter 2 use llvm::make_unique, rather than a helper.
This essentially reverts r251936, minimizing the difference between Chapter2
and Chapter 3, and making Chapter 2's code match the tutorial text.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@281945 91177308-0d34-0410-b5e6-96231b3b80d8
2016-09-19 23:00:27 +00:00

14 lines
227 B
CMake

set(LLVM_LINK_COMPONENTS
Support
)
add_kaleidoscope_chapter(Kaleidoscope-Ch2
toy.cpp
)
if(LLVM_COMPILER_IS_GCC_COMPATIBLE)
target_compile_options(Kaleidoscope-Ch2 PRIVATE
-Wno-unused-private-field
)
endif()