Skip to content

octoana/catap_dependecies_cplus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

catap_dependecies_cplus

testing cpp dependencies and vcpkg

C++ SFML + SQLite3 Test Project

This is a minimal example project using SFML 3.0.0 and SQLite3 3.50.3 in C++.
Dependencies are managed using vcpkg.

Setup

1. Install vcpkg

git clone https://github.com/microsoft/vcpkg.git
cd vcpkg
./bootstrap-vcpkg.sh   # Linux/macOS
.\bootstrap-vcpkg.bat  # Windows

2. Install dependencies

./vcpkg install sfml sqlite3

(Alternatively, with the provided vcpkg.json, use manifest mode:)

# From project root:
vcpkg install

3. Build

Use CMake:

cmake -B build -S .
cmake --build build

4. Run

./build/cpp-sfml-sqlite-test

Note: You may need to have a font file (arial.ttf or similar) in your working directory for the text to render.

What does it do?

  • Opens a simple SFML window.
  • Executes a test SQLite3 query in memory and prints a result to the console.

About

testing cpp dependencies and vcpkg

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors