diff options
author | Brad King <brad.king@kitware.com> | 2016-07-13 13:26:33 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2016-07-13 13:26:33 (GMT) |
commit | 40f24f0ec266c15f8e887cb7e2be957b23d32c6a (patch) | |
tree | ce34ee18e51424d6e5240bff92a27c09510fdcae /Help | |
parent | 43875ca59ce4084bd1bd857e4d3e1c18b682a466 (diff) | |
parent | 9da725cb00d25c7d3f45e8ee8c943ec5241d6227 (diff) | |
download | CMake-40f24f0ec266c15f8e887cb7e2be957b23d32c6a.zip CMake-40f24f0ec266c15f8e887cb7e2be957b23d32c6a.tar.gz CMake-40f24f0ec266c15f8e887cb7e2be957b23d32c6a.tar.bz2 |
Merge topic 'windows-export-all-from-exe'
9da725cb Windows: Honor WINDOWS_EXPORT_ALL_SYMBOLS for executables with exports
2005b960 Makefile: Factor out WINDOWS_EXPORT_ALL_SYMBOLS helper
Diffstat (limited to 'Help')
-rw-r--r-- | Help/prop_tgt/WINDOWS_EXPORT_ALL_SYMBOLS.rst | 5 | ||||
-rw-r--r-- | Help/release/dev/windows-export-all-from-exe.rst | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/Help/prop_tgt/WINDOWS_EXPORT_ALL_SYMBOLS.rst b/Help/prop_tgt/WINDOWS_EXPORT_ALL_SYMBOLS.rst index 3f48af8..06c3e6d 100644 --- a/Help/prop_tgt/WINDOWS_EXPORT_ALL_SYMBOLS.rst +++ b/Help/prop_tgt/WINDOWS_EXPORT_ALL_SYMBOLS.rst @@ -5,8 +5,9 @@ This property is implemented only for MS-compatible tools on Windows. Enable this boolean property to automatically create a module definition (``.def``) file with all global symbols found in the input ``.obj`` files -for a ``SHARED`` library on Windows. The module definition file will be -passed to the linker causing all symbols to be exported from the ``.dll``. +for a ``SHARED`` library (or executable with :prop_tgt:`ENABLE_EXPORTS`) +on Windows. The module definition file will be passed to the linker +causing all symbols to be exported from the ``.dll``. For global *data* symbols, ``__declspec(dllimport)`` must still be used when compiling against the code in the ``.dll``. All other function symbols will be automatically exported and imported by callers. This simplifies porting diff --git a/Help/release/dev/windows-export-all-from-exe.rst b/Help/release/dev/windows-export-all-from-exe.rst new file mode 100644 index 0000000..48c16ec --- /dev/null +++ b/Help/release/dev/windows-export-all-from-exe.rst @@ -0,0 +1,5 @@ +windows-export-all-from-exe +--------------------------- + +* The :prop_tgt:`WINDOWS_EXPORT_ALL_SYMBOLS` target property now applies + to executable targets with the :prop_tgt:`ENABLE_EXPORTS` property set. |