-
-
Notifications
You must be signed in to change notification settings - Fork 619
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cppdialect
is not set for Xcode project
#1516
Comments
cppdialect
(any value) is not set for Xcode projectcppdialect
is not set for Xcode project
And a follow-up documentation issue: https://github.com/premake/premake-core/wiki/cppdialect seems outdated since #1460 was merged |
It seems that #1460 is not included in the recent release on github (though it was merged 3 months ago), so probably the issue can be closed for now. |
I don't understand what point you're trying to make here? Latest release was 5 months ago, so it's impossible to have those changes in it?
Sounds like you're on a commit before that PR, can you confirm that you're on 670935a? |
Sorry, no implications there. I just wish to have some kind of nightly builds to use recent important features.
I've did my best to check that I'm on the latest version of master. And the behaviour is different from alpha15 version. |
Here is the latest master build, with the artifacts uploaded. You'll need to keep track of the version information, or keep up with master, if you're going to report issues about it though as we don't embed any build info into the binary.
Using latest, I get the following in the project file output:
Without seeing your script there's not much help I can provide here, you'll just need to check that you're not calling |
That was my fault. The option |
I'll handle this one |
What seems to be the problem?
cppdialect
c++latest
is not set for Xcode project.Setting
c++20
orc++2a
fails with:Error: invalid value 'c++20' for cppdialect
What have you tried so far?
Setting C++ Language Dialect from Xcode IDE works fine
How can we reproduce this?
Run
premake5 xcode4
on any project with cppdialect property and look forgrep -e "CLANG_CXX_LANGUAGE_STANDARD" project.pbxproj
What version of Premake are you using?
premake5 (Premake Build Script Generator) 5.0.0-alpha15
Xcode Version 11.7 (11E801a)
The text was updated successfully, but these errors were encountered: