GNUtoMS.rst 790 B

1234567891011121314151617
  1. GNUtoMS
  2. -------
  3. Convert GNU import library (.dll.a) to MS format (.lib).
  4. When linking a shared library or executable that exports symbols using
  5. GNU tools on Windows (MinGW/MSYS) with Visual Studio installed convert
  6. the import library (.dll.a) from GNU to MS format (.lib). Both import
  7. libraries will be installed by install(TARGETS) and exported by
  8. install(EXPORT) and export() to be linked by applications with either
  9. GNU- or MS-compatible tools.
  10. If the variable CMAKE_GNUtoMS is set when a target is created its
  11. value is used to initialize this property. The variable must be set
  12. prior to the first command that enables a language such as project()
  13. or enable_language(). CMake provides the variable as an option to the
  14. user automatically when configuring on Windows with GNU tools.