SDL exampleHow to build and run an SDL application in C++

Danger

This is the old documentation website please visit the new site

The cpp-sdl example is located in the pixi repository.

git clone https://github.com/prefix-dev/pixi.git

Move to the example folder

cd pixi/examples/cpp-sdl

Run the start command

pixi run start

Using the depends_on feature you only needed to run the start task but under water it is running the following tasks.

# Configure the CMake project
pixi run configure

# Build the executable
pixi run build

# Start the build executable
pixi run start