filespecific.cmake 765 Bytes
Newer Older
1 2 3 4 5 6 7
#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")
8 9 10
   #set_source_files_properties(io/eig66_mpi.F90 PROPERTIES COMPILE_FLAGS -O0)
   #set_source_files_properties(cdn/pwden.F90 PROPERTIES COMPILE_FLAGS -O0)
   #set_source_files_properties(eigen/apws.F90 PROPERTIES COMPILE_FLAGS -O0)
11
   set_source_files_properties(juDFT/time.F90 PROPERTIES COMPILE_FLAGS -O0)
12 13 14
   if (${CMAKE_Fortran_COMPILER_VERSION} VERSION_LESS "14.1.0.0")
      set_source_files_properties(vgen/vmtxcg.F90 PROPERTIES COMPILE_FLAGS -no-openmp)
   endif()
15 16
endif()