| Index: tools/clang/translation_unit/CMakeLists.txt
|
| diff --git a/tools/clang/translation_unit/CMakeLists.txt b/tools/clang/translation_unit/CMakeLists.txt
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..9b4fd8b2950a19f385230a48f45982e6303bb353
|
| --- /dev/null
|
| +++ b/tools/clang/translation_unit/CMakeLists.txt
|
| @@ -0,0 +1,26 @@
|
| +set(LLVM_LINK_COMPONENTS
|
| + BitReader
|
| + MCParser
|
| + Option
|
| + )
|
| +
|
| +add_llvm_executable(translation_unit
|
| + TranslationUnitGenerator.cpp
|
| + )
|
| +
|
| +target_link_libraries(translation_unit
|
| + clangAST
|
| + clangASTMatchers
|
| + clangAnalysis
|
| + clangBasic
|
| + clangDriver
|
| + clangEdit
|
| + clangFrontend
|
| + clangLex
|
| + clangParse
|
| + clangSema
|
| + clangSerialization
|
| + clangTooling
|
| + )
|
| +
|
| +cr_install(TARGETS translation_unit RUNTIME DESTINATION bin)
|
|
|