forked from OSchip/llvm-project
update two comments as suggested on https://reviews.llvm.org/D46843
llvm-svn: 332370
This commit is contained in:
parent
db39bf4088
commit
6043fd21b6
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue