iODBC icon indicating copy to clipboard operation
iODBC copied to clipboard

Please add cmake based build script

Open ghost opened this issue 2 years ago • 3 comments

ghost avatar Jun 15 '23 20:06 ghost

What is your use case or justification for cmake support, as we have never seen the need for adding such or received requests for such before, and the current build method is tried, tested and very portable ?

HughWilliams avatar Jun 17 '23 13:06 HughWilliams

Even though both unixODBC and iODBC don't support Windows, the MSYS2 project has successfully built a native Windows version of unixODBC: https://packages.msys2.org/package/mingw-w64-x86_64-unixodbc

I have seen people use MSVC to build unixODBC natively on Windows too. This is the reason why I asked for a cmake based build script. Using cmake you could generate build scripts to build various compilers including MSVC and standalone MinGW. The biggest plus of cmake is it allows you to ditch the POSIX Shell as only the plain Windows Command Prompt is enough, autotools based build system will always need a POSIX Shell.

ghost avatar Jun 18 '23 13:06 ghost

Thanks for the additional information, development indicate we would need to make an assessment of what is required to be able to run iODBC on Windows with native ODBC drivers. At this point a priority / time scale cannot be provide for this effort ...

HughWilliams avatar Jun 19 '23 10:06 HughWilliams