Checkout
Ivan Zhakov
committed
on 18 Feb 09
Add support to build and use SQLite amalgamation version on Windows.
This change implements the same behavior as *nix build system does.

* … Show more
Add support to build and use SQLite amalgamation version on Windows.

This change implements the same behavior as *nix build system does.

* build/generator/gen_win.py

(parse_options): set self.sqlite_path to sqlite-amalgamation

 directory if --with-sqlite parameter not specified.

(get_win_defines): Add SVN_SQLITE_INLINE define in SQLite amalgamation used.

(get_win_includes,get_win_lib_dirs): Use headers and libraries from

 correct location if we're using SQLite amalgamation.

(get_win_libs): Do not depend on sqlite3.lib if we're using SQLite

 amalgamation.

(_find_sqlite): Try SQLite amalgamation if compiled SQLite not found

 in specified location. Error if SQLite version less than 3.4.0.

Tested by: pburba

Show less