File: NAG.cmake

package info (click to toggle)
gftl 1.3.0%2Bis-really-1.2.7-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 1,328 kB
  • sloc: pascal: 4,163; f90: 3,551; sh: 27; fortran: 16; makefile: 2
file content (10 lines) | stat: -rw-r--r-- 346 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
# Compiler specific flags for NAG Fortran compiler

set (no_optimize "-O0")
set (check_all "-C=all -nocheck_modtime")
set (cpp "-fpp")
set (suppress_fpp_warnings "-w")

set (CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -g ${cpp}")
set (CMAKE_Fortran_FLAGS_DEBUG  "${no_optimize} ${traceback} ${check_all}")
set (CMAKE_Fortran_FLAGS_RELEASE "-O3")