filespecific.cmake 596 Bytes
Newer Older
1 2 3 4 5 6 7 8
#This file contains specific compiler flags for
#individual files and compilers
#E.G. it is used to switch of optimization for some files
#The compiler flags are added at the end and hence can be used
#to overwrite previous settings

if (${CMAKE_Fortran_COMPILER_ID} MATCHES "Intel")
   set_source_files_properties(io/eig66_mpi.F90 PROPERTIES COMPILE_FLAGS -O0)
9
   set_source_files_properties(cdn/pwden.F90 PROPERTIES COMPILE_FLAGS -O0)
10
   set_source_files_properties(eigen/apws.F90 PROPERTIES COMPILE_FLAGS -O0)
11
   set_source_files_properties(init/lhcal.f PROPERTIES COMPILE_FLAGS -O0)
12 13
endif()