Git Product home page Git Product logo

Comments (4)

micprog avatar micprog commented on August 21, 2024

I think you may be looking for the export_include_dirs functionality.

from bender.

msmithTT avatar msmithTT commented on August 21, 2024

Thanks for the hint, but unfortunately doesn't make a difference.

Using this Bender file:

sources:
  export_include_dirs:
    - rtl

  files:

Then running 'bender script flist' it returns an empty string.

from bender.

micprog avatar micprog commented on August 21, 2024

You may want to try the flist-plus script format, which also adds plusargs: +incdir+ and +define+. The flist script type only returns files.

from bender.

micprog avatar micprog commented on August 21, 2024

Investigating another issue, I found a problem when defining a bender dependency with no source files. I adjusted bender's script export in #167 to keep sourcegroups with no sourcefiles, resulting in a proper export of include directories when no source files are found. I don't know, however, if this is reasonable behavior, as include directories should only be necessary when compiling a source file, and blanket include directories can cause issues for some projects (which is why we can differentiate include directories for individual sourcegroups, although the flist format won't expose this).

from bender.

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.