[Alignment][NFC] Migrate Instructions to Align
[llvm-core.git] / examples / Kaleidoscope / Chapter2 / CMakeLists.txt
blob563b8cc848f6ed4da9a444a6b9347162405040ec
1 set(LLVM_LINK_COMPONENTS
2   Support
3   )
5 add_kaleidoscope_chapter(Kaleidoscope-Ch2
6   toy.cpp
7   )
9 if(LLVM_COMPILER_IS_GCC_COMPATIBLE)
10   target_compile_options(Kaleidoscope-Ch2 PRIVATE
11     -Wno-unused-private-field
12     )
13 endif()
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()