Replies: 2 comments
-
I don't think I've ever used system as a table personally, so I'm not sure if it's bug vs out of date docs. @starkos any thoughts? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I'm pretty sure the documentation mixes up "system" and "platform" here. The correct example would be: workspace "MyWorkspace"
configurations { "Debug", "Release" }
platform { "Windows", "Unix", "Mac" }
filter "platform:Windows"
system "windows"
filter "platform:Unix"
system "linux"
filter "platform:Mac"
system "macosx" |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Running the example code on the docs page for system results in:
Error: expected string; got table
Also, it doesn't report the line number, which isn't particularly useful when encountering this.
Are the docs out of date, or maybe it's a bug?
Beta Was this translation helpful? Give feedback.
All reactions