GitHub - eliasdaler/cmake-fetchcontent-tutorial-code: This is the code for the "Using CMake and managing dependencies" article from my blog (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

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