Home | History | Annotate | Download | only in src
      1 cc_binary_host {
      2     name: "versioner",
      3 
      4     srcs: [
      5         "versioner.cpp",
      6         "Arch.cpp",
      7         "CompilationType.cpp",
      8         "DeclarationDatabase.cpp",
      9         "Driver.cpp",
     10         "Preprocessor.cpp",
     11         "SymbolDatabase.cpp",
     12         "Utils.cpp",
     13         "VFS.cpp",
     14     ],
     15 
     16     shared_libs: [
     17         "libclang",
     18         "libLLVM",
     19         "libbase",
     20     ],
     21 
     22     header_libs: [
     23         "llvm-headers",
     24         "clang-headers",
     25     ],
     26 
     27     cflags: [
     28         "-Wall",
     29         "-Wextra",
     30         "-Werror",
     31         "-Wno-unused-parameter",
     32 
     33         "-D__STDC_CONSTANT_MACROS",
     34         "-D__STDC_LIMIT_MACROS",
     35     ],
     36 
     37     target: {
     38         host: {
     39             cppflags: [
     40                 "-std=gnu++1z",
     41                 "-fno-rtti",
     42             ],
     43         },
     44         windows: {
     45             enabled: false,
     46         },
     47     },
     48 }
     49