Code Monkey home page Code Monkey logo

Comments (4)

matthiasrichter avatar matthiasrichter commented on July 28, 2024

I did some investigation regarding this issue. If the dependency is a bucket, also all the (system)include directories are recursively retrieved in GET_BUCKET_CONTENT and added to the includes of a module.

Another case is probably if the dependency is a library from a different module of the same project. Like e.g. the Field module/library which is a dependency for tpc_simulation_bucket. Here also the include
path is added explicitly in the INCLUDE section. I suppose this is exactly for the reason of this issue.

However, removing the path from the include does not have any effect on the dictionary generation, it is generated without problems.

Maybe this issue is solved, what do you think @sawenzel ?

Side remark: What is not yet clear to me is how the include path of another internal module which has been specified as dependency makes it to the list of include directories. There are only three occurrences of target_include_directories in O2Utils.txt, but none of them seems to do this. Maybe some cmake magic connected to target_link_libraries when the dependencies are known internally.

from aliceo2.

Barthelemy avatar Barthelemy commented on July 28, 2024

@matthiasrichter
Concerning the side remark : yes, as far as I know, it is some CMake magic that works when dependencies are built and known internally.

from aliceo2.

sawenzel avatar sawenzel commented on July 28, 2024

@matthiasrichter : Thanks for the explanation. This means that we might be able to cleanup our bucket definitions quite a lot.

from aliceo2.

ktf avatar ktf commented on July 28, 2024

Closing this as I understand this is understood. Feel free to reopen if not the case.

from aliceo2.

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.