Darryl Pogue
0ce971b786
Merge pull request #7 from selimsandal/patch-1
...
Make sure debug postfix is empty
2025-01-03 23:49:23 -08:00
Selim Sandal
e45de12c5d
Make sure debug postfix is empty
...
If a debug postfix is set by another lib, the copied file name differs from the original target name, prevent this.
2025-01-04 10:45:42 +03:00
Darryl Pogue
989857d2e5
Merge pull request #6 from dpogue/depends-fix
...
Fix invalid DEPENDS in add_custom_command
2024-12-03 21:25:12 -08:00
Darryl Pogue
bf9b206c00
Fix invalid DEPENDS in add_custom_command
...
Closes #5 .
2024-12-03 21:19:53 -08:00
Darryl Pogue
0f0d7bebe0
Merge pull request #4 from dpogue/code-format
...
Minor formatting consistency fixes to CMake scripts
2024-10-08 15:13:14 -07:00
Darryl Pogue
75eefa53c6
Minor formatting consistency fixes to CMake scripts
2024-10-08 15:02:30 -07:00
Darryl Pogue
156c78c46c
Merge pull request #3 from dpogue/xcode-fixes
...
2 fixes for Xcode project files
2024-08-06 01:42:00 -07:00
Darryl Pogue
36a9727a6a
Allow embedding multiple shader targets
...
The CMake Xcode project generator wasn't happy if there were multiple
shader targets specified as resources because the target names weren't
quoted.
2024-08-06 01:40:23 -07:00
Darryl Pogue
f27140edde
Ensure CMake include directories get picked up
...
Metal shader libraries in Xcode use their own header search path and
ignore the standard header search path, even if it is populated. Since
CMake will populate the standard header search path, we can set the
Metal header search path to be a reference to that one.
2024-08-06 01:39:01 -07:00
Darryl Pogue
0f98ecbdd9
Remove extra link flags to fix Windows use
...
Closes #2 .
2024-06-10 21:29:39 -07:00
Darryl Pogue
3870cb1d50
Add blog link to README for background
2024-06-07 23:27:09 -07:00
Darryl Pogue
c921784a08
Version check for upstream CheckLanguage fix
2024-06-07 23:24:03 -07:00
Darryl Pogue
d18671ad47
It's working enough for some testing now
2024-06-02 14:11:10 -07:00
Darryl Pogue
96b889da02
Add support for specifying Metal language version
2024-06-02 14:10:16 -07:00
Darryl Pogue
56e8d08ddc
Merge pull request #1 from colincornaby/fix-mtk-link-for-example
...
Adding a link for MetalKit
2024-06-02 13:19:21 -07:00
Colin Cornaby
2f89004487
Adding a link for MetalKit
2024-06-02 13:17:27 -07:00
Darryl Pogue
4a6942f105
Get rid of the ShaderFull failed experiment
2024-06-02 02:12:37 -07:00
Darryl Pogue
49220f7dfa
Update README to refer to MetalShaderSupport module
2024-06-02 02:07:05 -07:00
Darryl Pogue
6594c420e2
Add MetalShaderSupport CMake helper
2024-06-02 01:52:40 -07:00
Darryl Pogue
c5eb0fdf01
README updates. Drop air/ar stuff because it doesn't work in Xcode
2024-06-02 00:16:12 -07:00
Darryl Pogue
7b7efe65ce
Match Xcode flags more closely
2024-06-01 23:53:20 -07:00
Darryl Pogue
9c7adfe297
Apparently it's wrong to call enable_language before project
2024-05-31 18:21:25 -07:00
Darryl Pogue
0c52d6e2af
Fixup some Xcode app bundle stuff
...
This should build properly with non-Xcode generators now, although the
resulting app doesn't seem to be rendering properly...
2024-05-31 18:12:02 -07:00
Darryl Pogue
e50c51bacb
Sorta working metallib resource copying
...
I'm going to need to write CMake helper functions to automate all of
this because it's way too much boilerplate 😕
2024-05-31 02:44:17 -07:00
Darryl Pogue
36a5ad921e
More accurate README updates
2024-05-31 02:22:44 -07:00
Darryl Pogue
7cdbd54913
Make Xcode builds work properly
2024-05-31 02:17:08 -07:00
Darryl Pogue
13ccf6d8bc
Add main example app
2024-05-31 02:16:56 -07:00
Darryl Pogue
5d45d7a9d8
Add module shader library to example
2024-05-30 23:13:46 -07:00
Darryl Pogue
064a4b0057
First part of the example code
2024-05-30 20:03:39 -07:00
Darryl Pogue
5ec0bd0501
Licensing stuff
2024-05-30 20:02:13 -07:00
Darryl Pogue
f9c93befb2
README updates
2024-05-30 19:38:47 -07:00
Darryl Pogue
78dba464a8
Initial stab at a (optimistic) README
2024-05-30 17:57:07 -07:00
Darryl Pogue
36e2160680
Build the shaders as a module library
2024-05-30 17:06:35 -07:00
Darryl Pogue
212790029f
Hopefully mostly complete Metal support?
2024-05-30 15:48:03 -07:00
Darryl Pogue
2c3b28f97b
Work around bug in CheckLanguage for now
...
Ref https://gitlab.kitware.com/cmake/cmake/-/issues/26020
2024-05-30 15:47:51 -07:00
Darryl Pogue
8a386d143b
Try out check_language for detecting support
2024-05-30 14:33:31 -07:00
Darryl Pogue
ffc08b587a
Slightly working metal-ar
2024-05-30 04:44:45 -07:00
Darryl Pogue
9caf8e9b6e
First commit of semi-broken code
2024-05-30 04:16:11 -07:00