build: Make this modules stuff actually mostly work on Clang

This commit is contained in:
WerWolv
2025-02-18 00:39:53 +01:00
parent 3f119b957e
commit ccaf1e33c0
47 changed files with 119 additions and 56 deletions

View File

@@ -32,6 +32,7 @@ include("${IMHEX_BASE_FOLDER}/cmake/ide_helpers.cmake")
# Basic compiler and cmake configurations
set(CMAKE_CXX_STANDARD 23)
set(CMAKE_CXX_SCAN_FOR_MODULES ON)
set(CMAKE_INCLUDE_DIRECTORIES_BEFORE ON)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
include("${IMHEX_BASE_FOLDER}/cmake/build_helpers.cmake")