Debian Codegraph @

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

raw
1 set(LLVM_LINK_COMPONENTS
2 Support
3 )
4
5 add_kaleidoscope_chapter(Kaleidoscope-Ch2
6 toy.cpp
7 )
8
9 if(LLVM_COMPILER_IS_GCC_COMPATIBLE)
10 target_compile_options(Kaleidoscope-Ch2 PRIVATE
11 -Wno-unused-private-field
12 )
13 endif()
14
15 if(MSVC)
16 # ignore "warning LNK4199: /DELAYLOAD:shell32.dll ignored; no imports found from shell32.dll"
17 target_link_libraries(Kaleidoscope-Ch2 PRIVATE "-ignore:4199")
18 endif()