Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SQLite support for Windows #576

Merged
merged 3 commits into from
Nov 28, 2024
Merged

Conversation

Foereaper
Copy link
Contributor

🍰 Pullrequest

Adds necessary cmake support to use SQLite on Windows

How2Test

Requires external SQLite library to be built or otherwise accessible through system path. See steps below for building the library manually.

Download source and binary packages from https://www.sqlite.org/download.html

  • source example: sqlite-amalgamation-3470000.zip
  • binary example: sqlite-dll-win-x64-3470000.zip

Extract content of both archives to C:\Program Files\sqlite (make sure the files are not in any subdirectories)

Open Developer Command Prompt for VS as administrator and navigate to C:\Program Files\sqlite

Run lib /DEF:sqlite3.def /OUT:sqlite3.lib /MACHINE:x64

Open System Properties, Environment Variables, System Variables and add C:\Program Files\sqlite to PATH

Reboot to make environment variables take effect

cmake and build
image

Todo / Checklist

  • None

@killerwife killerwife merged commit aa068d9 into cmangos:master Nov 28, 2024
@Foereaper Foereaper deleted the patch-2 branch November 28, 2024 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants