openlink / iODBC

An open-source ODBC driver manager and SDK that facilitates the development of database-independent applications on linux, freebsd, unix and MacOS X platforms.
http://www.iodbc.org/
Other
162 stars 52 forks source link

Please add cmake based build script #90

Open ghost opened 1 year ago

HughWilliams commented 1 year ago

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 ?

ghost commented 1 year ago

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.

HughWilliams commented 1 year ago

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 ...