llvm-project/llvm/utils/unittest/UnitTestMain/CMakeLists.txt

13 lines
215 B
CMake

add_llvm_library(gtest_main
TestMain.cpp
LINK_LIBS
gtest
LINK_COMPONENTS
Support # Depends on llvm::cl
# This library is not meant to be in the install tree, only the build tree.
BUILDTREE_ONLY
)