Home | History | Annotate | Download | only in Driver
      1 set(LLVM_USED_LIBS clangBasic clangAST clangParse)
      2 
      3 add_clang_library(clangDriver
      4   Action.cpp
      5   Arg.cpp
      6   ArgList.cpp
      7   CC1Options.cpp
      8   CC1AsOptions.cpp
      9   Compilation.cpp
     10   Driver.cpp
     11   DriverOptions.cpp
     12   Job.cpp
     13   Option.cpp
     14   OptTable.cpp
     15   Phases.cpp
     16   Tool.cpp
     17   ToolChain.cpp
     18   ToolChains.cpp
     19   WindowsToolChain.cpp
     20   Tools.cpp
     21   Types.cpp
     22   )
     23 
     24 IF(MSVC)
     25   get_target_property(NON_ANSI_COMPILE_FLAGS clangDriver COMPILE_FLAGS)
     26   string(REPLACE /Za
     27     "" NON_ANSI_COMPILE_FLAGS
     28     ${NON_ANSI_COMPILE_FLAGS})
     29   set_target_properties(clangDriver PROPERTIES COMPILE_FLAGS ${NON_ANSI_COMPILE_FLAGS})
     30 ENDIF(MSVC)
     31 
     32 add_dependencies(clangDriver ClangAttrList ClangDiagnosticDriver
     33                  ClangDriverOptions ClangCC1Options ClangCC1AsOptions)
     34