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