Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Copy DLL to output folder

Guilherme_S_
Beginner
668 Views

Hi,

With Intel Fortran and Visual Studio, how can I tell the compiler to add an DLL to the output folder?

In others languages (C# for example), each file added to the solution has a property called "Copy to Output Directory"

(Please see attached print scree)

Is this behavior possible with Fortran?

0 Kudos
2 Replies
ZlamalJakub
New Contributor III
668 Views

Select Project -> Properties -> Linker -> General ->Output File

0 Kudos
Steven_L_Intel1
Employee
668 Views

You can write your own custom build step that does the copy. I prefer to do this rather than having the linker directly write to the output directory of another project, as this can interfere with rebuilds.

0 Kudos
Reply