forked from OSchip/llvm-project
[lldb][CMake] Build LLDB.framework with -Wdocumentation in Xcode
llvm-svn: 372213
This commit is contained in:
parent
858d755c27
commit
2c72b41757
|
@ -44,6 +44,9 @@ else()
|
|||
XCODE_ATTRIBUTE_MACOSX_DEPLOYMENT_TARGET "${MACOSX_DEPLOYMENT_TARGET}")
|
||||
endif()
|
||||
|
||||
# Add -Wdocumentation parameter
|
||||
set(CMAKE_XCODE_ATTRIBUTE_CLANG_WARN_DOCUMENTATION_COMMENTS "YES")
|
||||
|
||||
# Apart from this one, CMake creates all required symlinks in the framework bundle.
|
||||
add_custom_command(TARGET liblldb POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E create_symlink
|
||||
|
|
Loading…
Reference in New Issue