llvm.org GIT mirror llvm / 30b44ff examples / Kaleidoscope / Chapter2 / CMakeLists.txt
30b44ff

Tree @30b44ff (Download .tar.gz)

CMakeLists.txt @30b44ffraw · history · blame

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