On Mon, Jun 29, 2009 at 12:58 PM, Eric Minbiole
<[email protected]>wrote:

> > I'm currently on Windows and I've set up a python script to download the
> > sqlite3 amalgamation. However, the ZIP file contains no build system for
> > sqlite. I had to create a custom CMake script to build sqlite3 into a
> > library. I do not wish to compile the C file with my source, it needs to
> be
> > a static library.
> >
> > Do you guys have a package that contains a build system for sqlite3 for
> > Windows?
>
> Can you use a dynamic library instead of static?  If so, there is a
> precompiled Windows dll for download on the SQLite site.  Otherwise, you
> will probably need to build manually, as you have done.
>
> (Another option might be to use one of the myriad of Dll -> Static lib
> converters available, though this seems like more work than it's worth.)


Thanks for the response. I actually have no need to use a shared library,
since it isn't going to be shared. A static library is what I need and what
I'm currently building. As long as there are no preprocessor definitions or
other compilation flags that I need to be aware of for sqlite3, then what I
have now will work just fine and it can be automated. It's a very simple
CMake script and I'd be willing to contribute it to the project if you would
like. You can package this up with the ZIP file and the tarball
amalgamations so that people have the option of building a static library.

Let me know. Thanks again for the help.
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to