Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions docs/INTRO-cmake.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ The easiest way to use SDL_image is to include it along with SDL as subprojects

We'll start by creating a simple project to build and run [hello.c](hello.c)

Get a copy of the SDL and SDL_image source:

```sh
git clone https://github.com/libsdl-org/SDL.git vendored/SDL
git clone https://github.com/libsdl-org/SDL_image.git vendored/SDL_image
```

Create the file CMakeLists.txt
```cmake
cmake_minimum_required(VERSION 3.16)
Expand Down