This reapplies 5ffd9bdb50 (#133545) with fixes.
The BUILD_SHARED_LIBS=ON build was fixed by adding missing LLVM
dependencies to the InterpTests binary in
unittests/AST/ByteCode/CMakeLists.txt .
29 lines
549 B
CMake
29 lines
549 B
CMake
add_clang_unittest(FrontendTests
|
|
ASTUnitTest.cpp
|
|
CompilerInvocationTest.cpp
|
|
CompilerInstanceTest.cpp
|
|
FixedPointString.cpp
|
|
FrontendActionTest.cpp
|
|
CodeGenActionTest.cpp
|
|
NoAlterCodeGenActionTest.cpp
|
|
ParsedSourceLocationTest.cpp
|
|
PCHPreambleTest.cpp
|
|
ReparseWorkingDirTest.cpp
|
|
OutputStreamTest.cpp
|
|
TextDiagnosticTest.cpp
|
|
UtilsTest.cpp
|
|
CLANG_LIBS
|
|
clangAST
|
|
clangBasic
|
|
clangFrontend
|
|
clangLex
|
|
clangSema
|
|
clangCodeGen
|
|
clangFrontendTool
|
|
clangSerialization
|
|
clangTooling
|
|
LLVM_COMPONENTS
|
|
Support
|
|
TargetParser
|
|
)
|