summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler/XL-Fortran.cmake
blob: 17a3dd2dd66280ad53bfcbd7e43998faee2390ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
SET(CMAKE_Fortran_VERBOSE_FLAG "-V")

SET(CMAKE_Fortran_DEFINE_FLAG "-WF,-D")

# -qthreaded     = Ensures that all optimizations will be thread-safe
# -qhalt=e       = Halt on error messages (rather than just severe errors)
SET(CMAKE_Fortran_FLAGS_INIT "-qthreaded -qhalt=e")

SET(CMAKE_Fortran_FLAGS_DEBUG_INIT "-g")
SET(CMAKE_Fortran_FLAGS_RELEASE_INIT "-O")
SET(CMAKE_Fortran_FLAGS_MINSIZEREL_INIT "-O")
SET(CMAKE_Fortran_FLAGS_RELWITHDEBINFO_INIT "-g")