summaryrefslogtreecommitdiffstats
path: root/Tests/ModuleDefinition/example_exe.def
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-09-29 20:39:43 (GMT)
committerBrad King <brad.king@kitware.com>2009-09-29 20:39:43 (GMT)
commit0db2c8505e3236c37d500c2d4afb9efbc675fdfc (patch)
treececdd7a7075376df272cb0c7d083a49ff399319a /Tests/ModuleDefinition/example_exe.def
parent024d05adada5b9deaac84f0f4df8beed273c972a (diff)
downloadCMake-0db2c8505e3236c37d500c2d4afb9efbc675fdfc.zip
CMake-0db2c8505e3236c37d500c2d4afb9efbc675fdfc.tar.gz
CMake-0db2c8505e3236c37d500c2d4afb9efbc675fdfc.tar.bz2
Test use of module .def files for MS tools
This adds a "ModuleDefinition" test enabled when using MSVC tools. It checks that .def files can be used to export .dll and .exe symbols and create corresponding .lib files that can be linked. See issue #9613.
Diffstat (limited to 'Tests/ModuleDefinition/example_exe.def')
-rw-r--r--Tests/ModuleDefinition/example_exe.def2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/ModuleDefinition/example_exe.def b/Tests/ModuleDefinition/example_exe.def
new file mode 100644
index 0000000..2a0df1f
--- /dev/null
+++ b/Tests/ModuleDefinition/example_exe.def
@@ -0,0 +1,2 @@
+EXPORTS
+example_exe_function