Linux-Intel-Fortran.cmake 536 B

1234567891011121314
  1. INCLUDE(Platform/Linux-Intel)
  2. IF(XIAR)
  3. SET(CMAKE_Fortran_CREATE_STATIC_LIBRARY
  4. "${XIAR} cr <TARGET> <LINK_FLAGS> <OBJECTS> "
  5. "${XIAR} -s <TARGET> ")
  6. ENDIF(XIAR)
  7. SET(CMAKE_SHARED_LIBRARY_Fortran_FLAGS "-fPIC")
  8. SET(CMAKE_SHARED_LIBRARY_CREATE_Fortran_FLAGS "-shared")
  9. SET(CMAKE_SHARED_LIBRARY_LINK_Fortran_FLAGS "-i_dynamic")
  10. SET(CMAKE_SHARED_LIBRARY_RUNTIME_Fortran_FLAG "-Wl,-rpath,")
  11. SET(CMAKE_SHARED_LIBRARY_RUNTIME_Fortran_FLAG_SEP ":")
  12. SET(CMAKE_SHARED_LIBRARY_SONAME_Fortran_FLAG "-Wl,-soname,")
  13. SET(CMAKE_DL_LIBS "dl")