Use Intel for Linux flags only on Linux
The commit "Split Intel compiler information files" moved some Linux specific flags into the platform-independent Intel compiler info files. This moves them back.
This commit is contained in:
parent
dc78838737
commit
2eca4dd2d1
|
@ -1,10 +1,3 @@
|
|||
INCLUDE(Compiler/Intel)
|
||||
IF(XIAR)
|
||||
SET(CMAKE_C_CREATE_STATIC_LIBRARY
|
||||
"${XIAR} cr <TARGET> <LINK_FLAGS> <OBJECTS> "
|
||||
"${XIAR} -s <TARGET> ")
|
||||
ENDIF(XIAR)
|
||||
|
||||
SET(CMAKE_C_VERBOSE_FLAG "-v")
|
||||
|
||||
SET(CMAKE_C_FLAGS_INIT "")
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
INCLUDE(Compiler/Intel)
|
||||
IF(XIAR)
|
||||
SET(CMAKE_CXX_CREATE_STATIC_LIBRARY
|
||||
"${XIAR} cr <TARGET> <LINK_FLAGS> <OBJECTS> "
|
||||
"${XIAR} -s <TARGET> ")
|
||||
ENDIF(XIAR)
|
||||
|
||||
SET(CMAKE_CXX_VERBOSE_FLAG "-v")
|
||||
|
||||
SET(CMAKE_CXX_FLAGS_INIT "")
|
||||
|
|
|
@ -1,17 +1,3 @@
|
|||
INCLUDE(Compiler/Intel)
|
||||
IF(XIAR)
|
||||
SET(CMAKE_Fortran_CREATE_STATIC_LIBRARY
|
||||
"${XIAR} cr <TARGET> <LINK_FLAGS> <OBJECTS> "
|
||||
"${XIAR} -s <TARGET> ")
|
||||
ENDIF(XIAR)
|
||||
|
||||
SET(CMAKE_SHARED_LIBRARY_Fortran_FLAGS "-fPIC")
|
||||
SET(CMAKE_SHARED_LIBRARY_CREATE_Fortran_FLAGS "-shared")
|
||||
SET(CMAKE_SHARED_LIBRARY_LINK_Fortran_FLAGS "-i_dynamic")
|
||||
SET(CMAKE_SHARED_LIBRARY_RUNTIME_Fortran_FLAG "-Wl,-rpath,")
|
||||
SET(CMAKE_SHARED_LIBRARY_RUNTIME_Fortran_FLAG_SEP ":")
|
||||
SET(CMAKE_SHARED_LIBRARY_SONAME_Fortran_FLAG "-Wl,-soname,")
|
||||
|
||||
SET(CMAKE_Fortran_FLAGS_INIT "")
|
||||
SET(CMAKE_Fortran_FLAGS_DEBUG_INIT "-g")
|
||||
SET(CMAKE_Fortran_FLAGS_MINSIZEREL_INIT "-Os")
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
INCLUDE(Platform/Linux-Intel)
|
||||
IF(XIAR)
|
||||
SET(CMAKE_C_CREATE_STATIC_LIBRARY
|
||||
"${XIAR} cr <TARGET> <LINK_FLAGS> <OBJECTS> "
|
||||
"${XIAR} -s <TARGET> ")
|
||||
ENDIF(XIAR)
|
|
@ -0,0 +1,6 @@
|
|||
INCLUDE(Platform/Linux-Intel)
|
||||
IF(XIAR)
|
||||
SET(CMAKE_CXX_CREATE_STATIC_LIBRARY
|
||||
"${XIAR} cr <TARGET> <LINK_FLAGS> <OBJECTS> "
|
||||
"${XIAR} -s <TARGET> ")
|
||||
ENDIF(XIAR)
|
|
@ -1 +1,14 @@
|
|||
INCLUDE(Platform/Linux-Intel)
|
||||
IF(XIAR)
|
||||
SET(CMAKE_Fortran_CREATE_STATIC_LIBRARY
|
||||
"${XIAR} cr <TARGET> <LINK_FLAGS> <OBJECTS> "
|
||||
"${XIAR} -s <TARGET> ")
|
||||
ENDIF(XIAR)
|
||||
|
||||
SET(CMAKE_SHARED_LIBRARY_Fortran_FLAGS "-fPIC")
|
||||
SET(CMAKE_SHARED_LIBRARY_CREATE_Fortran_FLAGS "-shared")
|
||||
SET(CMAKE_SHARED_LIBRARY_LINK_Fortran_FLAGS "-i_dynamic")
|
||||
SET(CMAKE_SHARED_LIBRARY_RUNTIME_Fortran_FLAG "-Wl,-rpath,")
|
||||
SET(CMAKE_SHARED_LIBRARY_RUNTIME_Fortran_FLAG_SEP ":")
|
||||
SET(CMAKE_SHARED_LIBRARY_SONAME_Fortran_FLAG "-Wl,-soname,")
|
||||
SET(CMAKE_DL_LIBS "dl")
|
||||
|
|
Loading…
Reference in New Issue