From d9443d670ef8413971fe7c3f02368b60a7fc5904 Mon Sep 17 00:00:00 2001 From: Simon Kallweit Date: Mon, 27 May 2024 06:03:13 -0700 Subject: [gfx] metal backend skeleton (#4223) * add metal-cpp submodule * add metal-cpp cmake target * gfx metal backend skeleton * add premake support * add foundation framework * add metal-cpp include to premake * update vs project file --------- Co-authored-by: Simon Kallweit Co-authored-by: Jay Kwak <82421531+jkwak-work@users.noreply.github.com> --- cmake/Glob.cmake | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cmake') diff --git a/cmake/Glob.cmake b/cmake/Glob.cmake index 16ce80dd5..831a07496 100644 --- a/cmake/Glob.cmake +++ b/cmake/Glob.cmake @@ -45,6 +45,10 @@ function(slang_glob_sources var dir) list(FILTER files EXCLUDE REGEX "(^|/)vulkan/.*") endif() + if(NOT CMAKE_SYSTEM_NAME MATCHES "Darwin") + list(FILTER files EXCLUDE REGEX "(^|/)metal/.*") + endif() + if(NOT CMAKE_SYSTEM_NAME MATCHES "Windows") list(FILTER files EXCLUDE REGEX "(^|/)open-gl/.*") endif() -- cgit v1.2.3