aboutsummaryrefslogtreecommitdiff
path: root/environment.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2014-03-11 00:23:20 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2014-03-11 00:23:20 +0200
commit9955ca254b313c10475c13bcda2e27b02ee43496 (patch)
treef0019a720c7843400ad240c1563d82b84687c940 /environment.py
parent3dadcbc9a73ab9c07ecc8bfd513d6e5ef791dd00 (diff)
downloadmeson-9955ca254b313c10475c13bcda2e27b02ee43496.zip
meson-9955ca254b313c10475c13bcda2e27b02ee43496.tar.gz
meson-9955ca254b313c10475c13bcda2e27b02ee43496.tar.bz2
Can generate a build.ninja for Jave but it does not work yet.
Diffstat (limited to 'environment.py')
-rw-r--r--environment.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/environment.py b/environment.py
index 90cfad3..b3cbcaf 100644
--- a/environment.py
+++ b/environment.py
@@ -94,7 +94,7 @@ class CCompiler():
def get_output_flags(self, target):
return ['-o', target]
-
+
def get_linker_output_flags(self, outputname):
return ['-o', outputname]
@@ -436,8 +436,8 @@ class JavaCompiler():
def get_compile_only_flags(self):
return []
- def get_output_flags(self, target):
- return []
+ def get_output_flags(self, subdir):
+ return ['-d', subdir, '-s', subdir]
def get_linker_output_flags(self, outputname):
return []