CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS

From Get docs
Cmake/docs/3.21/variable/cmake windows export all symbols


CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS

New in version 3.4.


Default value for WINDOWS_EXPORT_ALL_SYMBOLS target property. This variable is used to initialize the property on each target as it is created.

© 2000–2021 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.21/variable/CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS.html