From 2d6a65884ca3a02358f672de668e3161ed80f44f Mon Sep 17 00:00:00 2001 From: Andrew Kaster Date: Mon, 5 Aug 2024 20:46:12 -0600 Subject: [PATCH] AK: Generate clang module map --- AK/CMakeLists.txt | 7 +++++++ AK/module.modulemap | 6 ------ 2 files changed, 7 insertions(+), 6 deletions(-) delete mode 100644 AK/module.modulemap diff --git a/AK/CMakeLists.txt b/AK/CMakeLists.txt index 85c20316a32..b3c0ea737a3 100644 --- a/AK/CMakeLists.txt +++ b/AK/CMakeLists.txt @@ -59,3 +59,10 @@ endif() find_package(simdutf REQUIRED) target_link_libraries(AK PRIVATE simdutf::simdutf) + +generate_clang_module_map( + AK + GENERATED_FILES + "${CMAKE_CURRENT_BINARY_DIR}/Backtrace.h" + "${CMAKE_CURRENT_BINARY_DIR}/Debug.h" +) diff --git a/AK/module.modulemap b/AK/module.modulemap deleted file mode 100644 index 01a47bb0fdc..00000000000 --- a/AK/module.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -module AK [system] { - requires cplusplus - umbrella "." - - config_macros USING_AK_GLOBALLY -}