cmake-fetchcontent-tutorial-code icon indicating copy to clipboard operation
cmake-fetchcontent-tutorial-code copied to clipboard

This is the code for the "Using CMake and managing dependencies" article from my blog

This is the source code for the Using CMake and managing dependencies.

It shows how to setup a simple project which depends on SFML, Dear ImGui and ImGui-SFML.

image

Building

git clone https://github.com/eliasdaler/cmake-fetchcontent-tutorial-code
mkdir build && cd build
cmake ../cmake-fetchcontent-tutorial-code
cmake --build .
./src/example_exe # or ./src/Debug/example_exe if using Visual Studio