Giter Site home page Giter Site logo

Comments (6)

fuzzybinary avatar fuzzybinary commented on August 28, 2024 1

Closing as resolved 5 years after it was resolved 🙃

from genie.

bkaradzic avatar bkaradzic commented on August 28, 2024

@mmicko can you check this issue?

from genie.

mmicko avatar mmicko commented on August 28, 2024

Sorry for late reply, but problem with XCode and VS is that they do not have per-file compile options but just per project. What I can add is that in case it is C++ project (or ForceCPP) to use buildoptions + buildoptions_cpp and for C projects buildoptions + buildoptions_c. Would that be fine for you ?

from genie.

fuzzybinary avatar fuzzybinary commented on August 28, 2024

XCode (at least XCode 5) has a separate project level option for C vs C++ build options (it's OTHER_CPLUSPLUSFLAGS for C++)

I'm not sure how Genie / Premake work internally, but would it be possible to assign buildoptions + buildoptions_cpp to OTHER_CPLUSPLUSFLAGS and buildoptions + buildoptions_c to OTHER_CFLAGS?

from genie.

mmicko avatar mmicko commented on August 28, 2024

Yes it could be possible.

There is line
xcode.printlist(table.join(flags, cfg.buildoptions), 'OTHER_CFLAGS')

so new code would be :

xcode.printlist(table.join(flags, cfg.buildoptions, cfg.buildoptions_c),
'OTHER_CFLAGS')

xcode.printlist(table.join(flags, cfg.buildoptions, cfg.buildoptions_cpp), '
OTHER_CPLUSPLUSFLAGS')

On Tue, Jun 9, 2015 at 7:10 PM, Jeff Ward [email protected] wrote:

XCode (at least XCode 5) has a separate project level option for C vs C++
build options (it's OTHER_CPLUSPLUSFLAGS for C++)

I'm not sure how Genie / Premake work internally, but would it be possible
to assign buildoptions + buildoptions_cpp to OTHER_CPLUSPLUSFLAGS and
buildoptions + buildoptions_c to OTHER_CFLAGS?


Reply to this email directly or view it on GitHub
#87 (comment).

from genie.

JeffProgrammer avatar JeffProgrammer commented on August 28, 2024

I should have read this before opening issue #88

from genie.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.