Some renaming
Add OCaml to Tools/testflags.py.
This commit is contained in:
parent
51bfdce781
commit
ded4abab62
2 changed files with 6 additions and 4 deletions
|
|
@ -96,11 +96,11 @@ swig.cmo:
|
|||
swigp4.cmi:
|
||||
env SWIG_LIB=$(SWIG_LIB_DIR) $(SWIGEXE) -ocaml -co swigp4.ml
|
||||
$(OCC) -I $(OCAMLP4WHERE) -pp "camlp4o pa_extend.cmo q_MLast.cmo" -c swigp4.ml
|
||||
extra_obs: swig.cmi swig.cmo swigp4.cmi
|
||||
extra_objects: swig.cmi swig.cmo swigp4.cmi
|
||||
|
||||
$(C_TEST_CASES:=.ctest): extra_obs
|
||||
$(CPP_TEST_CASES:=.cpptest): extra_obs
|
||||
$(MULTI_CPP_TEST_CASES:=.multicpptest): extra_obs
|
||||
$(C_TEST_CASES:=.ctest): extra_objects
|
||||
$(CPP_TEST_CASES:=.cpptest): extra_objects
|
||||
$(MULTI_CPP_TEST_CASES:=.multicpptest): extra_objects
|
||||
|
||||
# Clean
|
||||
%.clean:
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@ def get_cflags(language, std, compiler):
|
|||
"java":"-Werror " + c_common,
|
||||
"javascript":"-Werror " + c_common,
|
||||
"lua":"-Werror " + c_common,
|
||||
"ocaml":"-Werror " + c_common,
|
||||
"octave":"-Werror " + c_common,
|
||||
"perl5":"-Werror " + c_common,
|
||||
"php":"-Werror " + c_common,
|
||||
|
|
@ -41,6 +42,7 @@ def get_cxxflags(language, std, compiler):
|
|||
"java":"-Werror " + cxx_common,
|
||||
"javascript":"-Werror " + cxx_common + " -Wno-error=unused-function", # Until overload_rename is fixed for node
|
||||
"lua":"-Werror " + cxx_common,
|
||||
"ocaml":"-Werror " + cxx_common,
|
||||
"octave":"-Werror " + cxx_common,
|
||||
"perl5":"-Werror " + cxx_common,
|
||||
"php":"-Werror " + cxx_common,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue