From 556cf073d61875368fe8511b75f5cb7db04ccb52 Mon Sep 17 00:00:00 2001 From: Marc Sunet Date: Wed, 19 Nov 2025 11:24:21 -0800 Subject: Use C++ modules --- dxwindow/CMakeLists.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'dxwindow/CMakeLists.txt') diff --git a/dxwindow/CMakeLists.txt b/dxwindow/CMakeLists.txt index baf99de..16c1709 100644 --- a/dxwindow/CMakeLists.txt +++ b/dxwindow/CMakeLists.txt @@ -1,10 +1,10 @@ -cmake_minimum_required(VERSION 3.20) +cmake_minimum_required(VERSION 3.25) -add_library(dxwindow - src/dxwindow.cc) +add_library(dxwindow) -target_include_directories(dxwindow PUBLIC - include/) +target_sources(dxwindow PUBLIC + FILE_SET cxx_modules TYPE CXX_MODULES FILES + dxwindow.ixx) target_link_libraries(dxwindow PUBLIC glfw) -- cgit v1.2.3