diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2015-06-19 20:12:43 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-07-06 15:11:02 (GMT) |
commit | 8f86407cfd4331dc1f2eb67f4f179ed8fe9dea06 (patch) | |
tree | 8d6670fe80a98055f6302241bb7177ea7d22b77d /Tests/RunCMake/AutoExportDll/world.cxx | |
parent | 069aa93b555293679f4b8c07623133ba62a74ee4 (diff) | |
download | CMake-8f86407cfd4331dc1f2eb67f4f179ed8fe9dea06.zip CMake-8f86407cfd4331dc1f2eb67f4f179ed8fe9dea06.tar.gz CMake-8f86407cfd4331dc1f2eb67f4f179ed8fe9dea06.tar.bz2 |
Windows: Optionally generate DLL module definition files automatically
Create target property WINDOWS_EXPORT_ALL_SYMBOLS to automatically
generate a module definition file from MS-compatible .obj files and give
it to the linker in order to export all symbols from the .dll part of a
SHARED library.
Diffstat (limited to 'Tests/RunCMake/AutoExportDll/world.cxx')
-rw-r--r-- | Tests/RunCMake/AutoExportDll/world.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/AutoExportDll/world.cxx b/Tests/RunCMake/AutoExportDll/world.cxx new file mode 100644 index 0000000..3a54df3 --- /dev/null +++ b/Tests/RunCMake/AutoExportDll/world.cxx @@ -0,0 +1,6 @@ +#include "stdio.h" + +void world() +{ + printf("world"); +} |