llvm-project/llvm/examples/Kaleidoscope/Chapter2/CMakeLists.txt

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()