cmake_minimum_required(VERSION 3.18) set(TARGET MProgram) project(${TARGET}) message("Project: ${TARGET} (HEADER-ONLY)") add_library(${TARGET} INTERFACE) # Enabling c++23 support target_compile_features(${TARGET} INTERFACE cxx_std_23) target_include_directories(${TARGET} INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/include) # Make headers visible in the IDE # Uses make_headers_visible() from cmake/modules/IDEVisibility.cmake make_headers_visible(${TARGET} "${CMAKE_CURRENT_SOURCE_DIR}/include")