aboutsummaryrefslogtreecommitdiff
path: root/backends.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2014-06-22 17:10:00 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2014-06-22 17:10:00 +0300
commitd2b5e5c7a5cadc221bdc604cab12716238dbe4db (patch)
tree4c22179cf20582c1b8fea54e9cc3cb53de4889c4 /backends.py
parentec167c81071bfc64fe62837ac1b156232655ca37 (diff)
downloadmeson-d2b5e5c7a5cadc221bdc604cab12716238dbe4db.zip
meson-d2b5e5c7a5cadc221bdc604cab12716238dbe4db.tar.gz
meson-d2b5e5c7a5cadc221bdc604cab12716238dbe4db.tar.bz2
The mass flags -> args renaming for consistency.
Diffstat (limited to 'backends.py')
-rw-r--r--backends.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/backends.py b/backends.py
index bbc2dab..ff9a20b 100644
--- a/backends.py
+++ b/backends.py
@@ -327,24 +327,24 @@ class Backend():
args = [includearg] + args
return args
- def generate_basic_compiler_flags(self, target, compiler):
+ def generate_basic_compiler_args(self, target, compiler):
commands = []
- commands += compiler.get_always_flags()
- commands += self.build.get_global_flags(compiler)
+ commands += compiler.get_always_args()
+ commands += self.build.get_global_args(compiler)
commands += self.environment.coredata.external_args[compiler.get_language()]
commands += target.get_extra_args(compiler.get_language())
if self.environment.coredata.buildtype != 'plain':
- commands += compiler.get_debug_flags()
- commands += compiler.get_std_warn_flags()
- commands += compiler.get_buildtype_flags(self.environment.coredata.buildtype)
+ commands += compiler.get_debug_args()
+ commands += compiler.get_std_warn_args()
+ commands += compiler.get_buildtype_args(self.environment.coredata.buildtype)
if self.environment.coredata.coverage:
- commands += compiler.get_coverage_flags()
+ commands += compiler.get_coverage_args()
if isinstance(target, build.SharedLibrary):
- commands += compiler.get_pic_flags()
+ commands += compiler.get_pic_args()
for dep in target.get_external_deps():
- commands += dep.get_compile_flags()
+ commands += dep.get_compile_args()
if isinstance(target, build.Executable):
- commands += dep.get_exe_flags()
+ commands += dep.get_exe_args()
return commands