llvm-project/clang/lib/Driver/CMakeLists.txt

26 lines
481 B
CMake

set(LLVM_USED_LIBS clangBasic clangAST clangParse)
add_clang_library(clangDriver
Action.cpp
Arg.cpp
ArgList.cpp
CC1Options.cpp
CC1AsOptions.cpp
Compilation.cpp
Driver.cpp
DriverOptions.cpp
HostInfo.cpp
Job.cpp
Option.cpp
OptTable.cpp
Phases.cpp
Tool.cpp
ToolChain.cpp
ToolChains.cpp
Tools.cpp
Types.cpp
)
add_dependencies(clangDriver ClangAttrList ClangDiagnosticDriver
ClangDriverOptions ClangCC1Options ClangCC1AsOptions)