2012-06-01 06:34:00 +08:00
|
|
|
add_subdirectory(MachO)
|
|
|
|
add_subdirectory(YAML)
|
2014-02-26 14:28:09 +08:00
|
|
|
|
2015-01-21 03:23:44 +08:00
|
|
|
if (MSVC)
|
|
|
|
add_definitions(-wd4062) # Suppress 'warning C4062: Enumerator has no associated handler in a switch statement.'
|
|
|
|
endif()
|
|
|
|
|
2016-01-07 08:14:04 +08:00
|
|
|
add_lld_library(lldReaderWriter
|
2013-12-06 12:43:01 +08:00
|
|
|
FileArchive.cpp
|
2016-01-07 08:14:09 +08:00
|
|
|
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
|
|
${LLD_INCLUDE_DIR}/lld/ReaderWriter
|
|
|
|
|
2015-01-22 05:26:27 +08:00
|
|
|
LINK_LIBS
|
|
|
|
lldCore
|
2015-01-22 06:54:56 +08:00
|
|
|
lldYAML
|
2015-01-22 05:26:27 +08:00
|
|
|
LLVMObject
|
|
|
|
LLVMSupport
|
2012-12-05 05:09:04 +08:00
|
|
|
)
|