# This is a template I intend to use to create C++ cmake projects going forwards # the structure takes heavily after https://cliutils.gitlab.io/modern-cmake/chapters/basics/structure.html # This file takes heavily from https://gitlab.com/CLIUtils/modern-cmake/-/blob/master/examples/extended-project/CMakeLists.txt cmake_minimum_required(VERSION 3.10) project( pagwin_iterator_tools VERSION 0.1 LANGUAGES CXX) # setting this so compile_commands.json is generated for clangd set(CMAKE_EXPORT_COMPILE_COMMANDS 1) # lib src code add_subdirectory(src)