Commit ed7960b8 authored by Daniel Wortmann's avatar Daniel Wortmann

Added a file in cmake process to include file specific compiler options

This is currently used to switch off optimization for some files
parent 18febd0e
......@@ -18,6 +18,8 @@ include("cmake/ReportConfig.txt")
include("cmake/Files_and_Targets.txt")
include("cmake/filespecific.cmake")
#install(TARGETS fleur inpgen DESTINATION bin)
install(PROGRAMS ${CMAKE_BINARY_DIR}/fleur
CONFIGURATIONS Debug
......
#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)
endif()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment