Giter Site home page Giter Site logo

Comments (5)

bruno-at-orange avatar bruno-at-orange commented on May 27, 2024

I suggest to wait a stable source tree before enabling this. GLOB is not recommended but it is very useful during big refactoring.

from khiops.

folmos-at-orange avatar folmos-at-orange commented on May 27, 2024

Ok. I thought we had already all the CPP sources in the tree, why it helps in a refactoring? or why it is risky removing the GLOBs?

I'll have the patch ready in any case.

from khiops.

bruno-at-orange avatar bruno-at-orange commented on May 27, 2024

Marc is coming soon with few versions and plenty new files

from khiops.

folmos-at-orange avatar folmos-at-orange commented on May 27, 2024

From the CMake documentation, this is the reason they do not recommend using GLOBs for source files

Note We do not recommend using GLOB to collect a list of source files from your source tree. If no CMakeLists.txt file changes when a source is added or removed then the generated build system cannot know when to ask CMake to regenerate. The CONFIGURE_DEPENDS flag may not work reliably on all generators, or if a new generator is added in the future that cannot support it, projects using it will be stuck. Even if CONFIGURE_DEPENDS works reliably, there is still a cost to perform the check on every rebuild.

from khiops.

folmos-at-orange avatar folmos-at-orange commented on May 27, 2024

Decision:

  • We'll keep globs whenever possible. Is more practical
  • Most of the time removing the build directory solves any issue.

from khiops.

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.