Dear forum users,
Is there a default way to identify the toolset (in my case Intel Parallel Studio XE 2016) in the name of a library file that was build with that toolset? As an example, for Microsoft Visual Studio 2015 such an identification is "-vc140" (yielding library names like "libboost_atomic-vc140-mt-1_60.lib") . I'm looking for a similar way to include a reference to the Fortran toolset in my library files. I'd expect something like "-xe2016".
Thanks,
Michiel.
連結已複製
No, and any such convention is specific to the project. BOOST probably does this because MSVC code tends to be tied to the particular version of Visual Studio used to build it. This isn't the case for Intel Fortran.
To insert your own comment try:
!DIR$ OBJCOMMENT USER: 'Put your text here'
The IVF documentation only lists the comment type LIB, but it may include all comment types:
compiler, exestr, lib, linker, user
This may also be suitable for your purposes
!DIR$ OBJCOMMENT COMPILER
You could also add linker options to decorate your .lib, .dll with comments
Jim Dempsey
