mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 13:20:47 -06:00
Visual Studio defines this automatically for `.dll` targets. For consistency, define it when compiling for the MSVC ABI with other generators. Add policy CMP0203 for compatibility. Fixes: #27253
7 lines
207 B
ReStructuredText
7 lines
207 B
ReStructuredText
define-windll
|
|
-------------
|
|
|
|
* For builds targeting the MSVC ABI, all generators now add the ``_WINDLL``
|
|
preprocessor definition when compiling sources in shared libraries.
|
|
See policy :policy:`CMP0203`.
|