mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
a14613de97
Differential Revision: https://reviews.llvm.org/D56329 llvm-svn: 352322
19 lines
406 B
CMake
19 lines
406 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()
|
|
|
|
if(MSVC)
|
|
# ignore "warning LNK4199: /DELAYLOAD:shell32.dll ignored; no imports found from shell32.dll"
|
|
target_link_libraries(Kaleidoscope-Ch2 PRIVATE "-ignore:4199")
|
|
endif()
|