Refix Java.

pull/34/head
Jussi Pakkanen 10 years ago
parent 0f65a5991c
commit 36558a4cd1
  1. 8
      compilers.py

@ -70,6 +70,11 @@ msvc_buildtype_linker_args = {'plain' : [],
'debugoptimized' : [],
'release' : []}
java_buildtype_args = {'plain' : [],
'debug' : ['-g'],
'debugoptimized' : ['-g'],
'release' : []}
rust_buildtype_args = {'plain' : [],
'debug' : ['-g'],
'debugoptimized' : ['-g', '--opt-level', '2'],
@ -712,6 +717,9 @@ class JavaCompiler():
def get_pch_name(self, header_name):
return ''
def get_buildtype_args(self, buildtype):
return java_buildtype_args[buildtype]
def sanity_check(self, work_dir):
src = 'SanityCheck.java'
obj = 'SanityCheck'

Loading…
Cancel
Save