forked from OSchip/llvm-project
20 lines
368 B
CMake
20 lines
368 B
CMake
add_subdirectory(MachO)
|
|
add_subdirectory(YAML)
|
|
|
|
if (MSVC)
|
|
add_definitions(-wd4062) # Suppress 'warning C4062: Enumerator has no associated handler in a switch statement.'
|
|
endif()
|
|
|
|
add_lld_library(lldReaderWriter
|
|
FileArchive.cpp
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
${LLD_INCLUDE_DIR}/lld/ReaderWriter
|
|
|
|
LINK_LIBS
|
|
lldCore
|
|
lldYAML
|
|
LLVMObject
|
|
LLVMSupport
|
|
)
|