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
546551e
..
28a0cb4
100644
(file)
--- a/
buildtools/Cmake/Flags.cmake
+++ b/
buildtools/Cmake/Flags.cmake
@@
-17,6
+17,10
@@
if(enable_compile_warnings)
if(CMAKE_C_COMPILER_ID STREQUAL "Clang")
string(REPLACE "-Wclobbered " "" warnCFLAGS "${warnCFLAGS}")
endif()
+
+ set(CMAKE_Fortran_FLAGS "-Wall") # FIXME: Q&D hack
+
+ set(CMAKE_JAVA_COMPILE_FLAGS "-Xlint")
endif()
if(enable_compile_optimizations)