зеркало из https://github.com/microsoft/clang.git
Really fix cmake style builds.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67633 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
9e3a224943
Коммит
a43a21ef14
|
@ -7,4 +7,5 @@ add_subdirectory(Sema)
|
||||||
add_subdirectory(CodeGen)
|
add_subdirectory(CodeGen)
|
||||||
add_subdirectory(Analysis)
|
add_subdirectory(Analysis)
|
||||||
add_subdirectory(Rewrite)
|
add_subdirectory(Rewrite)
|
||||||
|
add_subdirectory(Driver)
|
||||||
add_subdirectory(Frontend)
|
add_subdirectory(Frontend)
|
||||||
|
|
|
@ -7,8 +7,13 @@ add_clang_library(clangDriver
|
||||||
Compilation.cpp
|
Compilation.cpp
|
||||||
Driver.cpp
|
Driver.cpp
|
||||||
HostInfo.cpp
|
HostInfo.cpp
|
||||||
|
Job.cpp
|
||||||
OptTable.cpp
|
OptTable.cpp
|
||||||
Option.cpp
|
Option.cpp
|
||||||
Phases.cpp
|
Phases.cpp
|
||||||
|
Tool.cpp
|
||||||
|
ToolChain.cpp
|
||||||
|
ToolChains.cpp
|
||||||
|
Tools.cpp
|
||||||
Types.cpp
|
Types.cpp
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
set(LLVM_NO_RTTI 1)
|
set(LLVM_NO_RTTI 1)
|
||||||
|
|
||||||
add_clang_library(clangDriver
|
add_clang_library(clangFrontend
|
||||||
HTMLDiagnostics.cpp
|
HTMLDiagnostics.cpp
|
||||||
InitHeaderSearch.cpp
|
InitHeaderSearch.cpp
|
||||||
TextDiagnosticBuffer.cpp
|
TextDiagnosticBuffer.cpp
|
||||||
|
|
|
@ -5,7 +5,7 @@ set( LLVM_USED_LIBS
|
||||||
clangAnalysis
|
clangAnalysis
|
||||||
clangRewrite
|
clangRewrite
|
||||||
clangSema
|
clangSema
|
||||||
clangDriver
|
clangFrontend
|
||||||
clangAST
|
clangAST
|
||||||
clangParse
|
clangParse
|
||||||
clangLex
|
clangLex
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
set(LLVM_NO_RTTI 1)
|
||||||
|
|
||||||
set( LLVM_USED_LIBS
|
set( LLVM_USED_LIBS
|
||||||
clangDriver
|
clangDriver
|
||||||
clangBasic
|
clangBasic
|
||||||
|
@ -5,6 +7,6 @@ set( LLVM_USED_LIBS
|
||||||
|
|
||||||
set(LLVM_LINK_COMPONENTS system support bitreader bitwriter)
|
set(LLVM_LINK_COMPONENTS system support bitreader bitwriter)
|
||||||
|
|
||||||
add_clang_tool(clang
|
add_clang_executable(clang
|
||||||
driver.cpp
|
driver.cpp
|
||||||
)
|
)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче