summaryrefslogtreecommitdiffstats
path: root/Tests/Fortran/world.def
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-10-26 15:07:27 (GMT)
committerBrad King <brad.king@kitware.com>2009-10-26 15:07:27 (GMT)
commit707d05e9368f53707b23d565967c996878db27d2 (patch)
tree3a7972ff4073861728686f06e948c0bb2f434274 /Tests/Fortran/world.def
parent7b28fbd6561285ef0eb4a9a1bcb857c7cb5adad3 (diff)
downloadCMake-707d05e9368f53707b23d565967c996878db27d2.zip
CMake-707d05e9368f53707b23d565967c996878db27d2.tar.gz
CMake-707d05e9368f53707b23d565967c996878db27d2.tar.bz2
Fix Intel and MinGW Fortran DLL import libraries
We add Intel and MinGW Fortran linker options to create the import library portion of a DLL. This allows other binaries to link to a Fortran DLL. We also update the Fortran test to use a .def file to specify exports since there is no __declspec(dllexport) markup syntax in Fortran.
Diffstat (limited to 'Tests/Fortran/world.def')
-rw-r--r--Tests/Fortran/world.def2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/Fortran/world.def b/Tests/Fortran/world.def
new file mode 100644
index 0000000..ead7710
--- /dev/null
+++ b/Tests/Fortran/world.def
@@ -0,0 +1,2 @@
+EXPORTS
+ WORLD