File: flags.cmake

package info (click to toggle)
metview 5.10.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 242,296 kB
  • sloc: cpp: 437,117; ansic: 41,433; xml: 19,944; f90: 13,059; sh: 6,562; python: 3,953; yacc: 1,774; lex: 1,121; perl: 701; makefile: 92
file content (15 lines) | stat: -rw-r--r-- 824 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

# the following line does not work (CMAKE_SOURCE_DIR seems to point to the build dir)
#include(${CMAKE_SOURCE_DIR}/cmake/atlas_compiler_flags.cmake)

#include(../../git/atlas/cmake/atlas_compiler_flags.cmake)


# on openSUSE 11.3 machines, we need to point to a newer compiler
#SET(CMAKE_Fortran_COMPILER /usr/local/apps/gcc/4.8.1/LP64/bin/gfortran CACHE STRING "Fortran compiler")
#SET(CMAKE_C_COMPILER       /usr/local/apps/gcc/4.8.1/LP64/bin/gcc      CACHE STRING "C compiler")
#SET(CMAKE_CXX_COMPILER     /usr/local/apps/gcc/4.8.1/LP64/bin/g++      CACHE STRING "C++ compiler")
#set(CMAKE_Fortran_LINK_FLAGS  "-L/usr/local/apps/gcc/4.8.1/LP64/lib/gcc/x86_64-suse-linux/4.8.1/")
#link_directories("/usr/local/apps/gcc/4.8.1/LP64/lib/gcc/x86_64-suse-linux/4.8.1/")

SET(ENABLE_SANDBOX  OFF  CACHE BOOL "Disable sandbox")