cmake_minimum_required(VERSION 3.24) project(cxx_modules_circular CXX) include("${CMAKE_SOURCE_DIR}/../cxx-modules-rules.cmake") add_library(circular STATIC) target_sources(circular PUBLIC FILE_SET CXX_MODULES BASE_DIRS "${CMAKE_CURRENT_SOURCE_DIR}" FILES circular-a.cppm circular-b.cppm) target_compile_features(circular PUBLIC cxx_std_20)