summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorSimon Kallweit <simon.kallweit@gmail.com>2024-05-27 06:03:13 -0700
committerGitHub <noreply@github.com>2024-05-27 15:03:13 +0200
commitd9443d670ef8413971fe7c3f02368b60a7fc5904 (patch)
tree001e763846b23814b0e4960991fc457d7b580a0f /cmake
parent4f1cbf6f4d561320b8e3c73b871cc95dd13c6207 (diff)
[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 <skallweit@nvidia.com> Co-authored-by: Jay Kwak <82421531+jkwak-work@users.noreply.github.com>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Glob.cmake4
1 files changed, 4 insertions, 0 deletions
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()