diff options
-rw-r--r-- | etc/defaults/CC/TARGETS.re2 | 17 | ||||
-rw-r--r-- | etc/repos.json | 8 |
2 files changed, 24 insertions, 1 deletions
diff --git a/etc/defaults/CC/TARGETS.re2 b/etc/defaults/CC/TARGETS.re2 new file mode 100644 index 00000000..aecce9e9 --- /dev/null +++ b/etc/defaults/CC/TARGETS.re2 @@ -0,0 +1,17 @@ +{ "defaults": + { "type": ["CC", "defaults"] + , "CC": ["clang"] + , "CXX": ["clang++"] + , "CFLAGS": [] + , "CXXFLAGS": + [ "-std=c++11" + , "-pthread" + , "-Wall" + , "-Wextra" + , "-Wno-unused-parameter" + , "-Wno-missing-field-initializers" + ] + , "AR": ["ar"] + , "PATH": ["/bin", "/sbin", "/usr/bin", "/usr/sbin"] + } +} diff --git a/etc/repos.json b/etc/repos.json index dcd0434b..f5b71582 100644 --- a/etc/repos.json +++ b/etc/repos.json @@ -48,6 +48,12 @@ , "rule_root": "rules" , "target_file_name": "TARGETS.absl" } + , "rules-re2": + { "repository": "rules" + , "target_root": "defaults" + , "rule_root": "rules" + , "target_file_name": "TARGETS.re2" + } , "import targets": {"repository": {"type": "file", "path": "etc/import"}} , "gsl-lite": { "repository": @@ -195,7 +201,7 @@ } , "target_root": "import targets" , "target_file_name": "TARGETS.re2" - , "bindings": {"rules": "rules"} + , "bindings": {"rules": "rules-re2"} } , "com_github_cares_cares": { "repository": |