Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

Is it possible to change the C++ Language Dialect setting under Apple LLVM 6.1 - Language - C++ during a post build process in Unity3D? See here:Setting

I'm using XCodeEditor, and in the json, i tried these two settings and nothing is happening :(

  "buildSettings": 
        {     
            "OTHER_LDFLAGS" : ["-std=gnu++11"]
        }

    "linker_flags": ["-std=gnu++11"]
share|improve this question

1 Answer 1

Try this:

"CLANG_CXX_LANGUAGE_STANDARD" = ["gnu++0x"] (or gnu++11)

it seems like officialy there is no documentation for this option (all keys are here), but that's what I found.

Update: I checked and it works well with PostprocessBuildPlayer using mod_pbxproj.py

share|improve this answer
    
Yea I looked at all the options, and tried that above. I don't think there is a way :( –  Hector Llanos May 3 at 16:44
    
I think you did something wrong or it's XCodeEditor issue. Because I tried this flag using mod_pbxproj and it changed this option as it supposed to –  loreglean May 5 at 8:48

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.