testing cpp dependencies and vcpkg
This is a minimal example project using SFML 3.0.0 and SQLite3 3.50.3 in C++.
Dependencies are managed using vcpkg.
git clone https://github.com/microsoft/vcpkg.git
cd vcpkg
./bootstrap-vcpkg.sh # Linux/macOS
.\bootstrap-vcpkg.bat # Windows./vcpkg install sfml sqlite3(Alternatively, with the provided vcpkg.json, use manifest mode:)
# From project root:
vcpkg installUse CMake:
cmake -B build -S .
cmake --build build./build/cpp-sfml-sqlite-testNote: You may need to have a font file (arial.ttf or similar) in your working directory for the text to render.
- Opens a simple SFML window.
- Executes a test SQLite3 query in memory and prints a result to the console.