Add an option to build an import .lib with dlltool on mingw
commit6273a18de5798b7e4714f84ec474b6432872e6cb
authorChris Robinson <chris.kcat@gmail.com>
Mon, 11 Aug 2014 02:40:29 +0000 (10 19:40 -0700)
committerChris Robinson <chris.kcat@gmail.com>
Mon, 11 Aug 2014 02:40:29 +0000 (10 19:40 -0700)
tree25a2dc816e781d9b2951cb5e0301d2d31b6e9bbf
parenta3c236598ae32ff504ee6d0844b78a2430da2802
Add an option to build an import .lib with dlltool on mingw

Also make sure the ordinals are stripped from the .def file (using sed), so
that the generated .lib will link apps to the DLL using function names instead
of ordinals.
CMakeLists.txt