diff options
author | Brad King <brad.king@kitware.com> | 2009-09-29 20:39:43 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-09-29 20:39:43 (GMT) |
commit | 0db2c8505e3236c37d500c2d4afb9efbc675fdfc (patch) | |
tree | cecdd7a7075376df272cb0c7d083a49ff399319a /Tests/ModuleDefinition/example_dll.c | |
parent | 024d05adada5b9deaac84f0f4df8beed273c972a (diff) | |
download | CMake-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_dll.c')
-rw-r--r-- | Tests/ModuleDefinition/example_dll.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/ModuleDefinition/example_dll.c b/Tests/ModuleDefinition/example_dll.c new file mode 100644 index 0000000..88b3904 --- /dev/null +++ b/Tests/ModuleDefinition/example_dll.c @@ -0,0 +1 @@ +int example_dll_function(void) { return 0; } |