mirror of
https://github.com/google/benchmark.git
synced 2024-12-28 05:20:14 +08:00
c45f01866b
* CMake: implement LTO for clang. Fixes #478 * LTO: add basic docs about required executables.
17 lines
388 B
CMake
17 lines
388 B
CMake
include(FeatureSummary)
|
||
|
||
find_program(LLVMNM_EXECUTABLE
|
||
NAMES llvm-nm
|
||
DOC "The llvm-nm executable"
|
||
)
|
||
|
||
include(FindPackageHandleStandardArgs)
|
||
find_package_handle_standard_args(LLVMNm
|
||
DEFAULT_MSG
|
||
LLVMNM_EXECUTABLE)
|
||
|
||
SET_PACKAGE_PROPERTIES(LLVMNm PROPERTIES
|
||
URL https://llvm.org/docs/CommandGuide/llvm-nm.html
|
||
DESCRIPTION "list LLVM bitcode and object file’s symbol table"
|
||
)
|