update two comments as suggested on https://reviews.llvm.org/D46843

llvm-svn: 332370
This commit is contained in:
Nico Weber 2018-05-15 16:37:00 +00:00
parent db39bf4088
commit 6043fd21b6
2 changed files with 2 additions and 4 deletions

View File

@ -9,8 +9,7 @@ elseif(LLVM_USE_SANITIZE_COVERAGE)
unset(DUMMY_MAIN)
endif()
# Hack to bypass LLVM's cmake sources check and allow multiple libraries and
# executables from this directory.
# Needed by LLVM's CMake checks because this file defines multiple targets.
set(LLVM_OPTIONAL_SOURCES
ClangFuzzer.cpp
DummyClangFuzzer.cpp

View File

@ -1,8 +1,7 @@
set(LLVM_LINK_COMPONENTS ${LLVM_TARGETS_TO_BUILD})
set(CMAKE_CXX_FLAGS ${CXX_FLAGS_NOFUZZ})
# Hack to bypass LLVM's CMake source checks so we can have both a library and
# an executable built from this directory.
# Needed by LLVM's CMake checks because this file defines multiple targets.
set(LLVM_OPTIONAL_SOURCES proto_to_cxx.cpp proto_to_cxx_main.cpp)
add_clang_library(clangProtoToCXX proto_to_cxx.cpp