A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Enable compile warnings for Java too.
[simgrid.git]
/
buildtools
/
Cmake
/
Flags.cmake
diff --git
a/buildtools/Cmake/Flags.cmake
b/buildtools/Cmake/Flags.cmake
index
e8e8401
..
28a0cb4
100644
(file)
--- a/
buildtools/Cmake/Flags.cmake
+++ b/
buildtools/Cmake/Flags.cmake
@@
-19,6
+19,8
@@
if(enable_compile_warnings)
endif()
set(CMAKE_Fortran_FLAGS "-Wall") # FIXME: Q&D hack
+
+ set(CMAKE_JAVA_COMPILE_FLAGS "-Xlint")
endif()
if(enable_compile_optimizations)