cmake_minimum_required(VERSION 3.14) project(doompanning) set(CMAKE_EXPORT_COMPILE_COMMANDS ON) ## Create binaries in the root of the build directory set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}) set(CMAKE_VERBOSE_MAKEFILE ON CACHE BOOL "ON") # The SDL renderer backend in the version of ImGui included in this repo # requires at least SDL-2.0.17. This is enforced in # external/imgui/backends/imgui_impl_sdlrenderer.cpp . find_package(SDL2 2.0.17) add_subdirectory(external) add_subdirectory(src)