Giter VIP home page Giter VIP logo

Comments (2)

Issues-translate-bot avatar Issues-translate-bot commented on August 27, 2024

Bot detected the issue body's language is not English, translate it automatically.


In what scenario do you need this feature?

Currently, the intermediate directory structure generated by xmake is unified in the form of plat/arch/mode, such as .deps//windows/x64/release/.... The purpose of the directory structure is to distinguish configs and prevent files from different configs from mixing together. However, in fact, a fixed directory structure cannot achieve this goal (many times plat/arch/mode are fixed, and the difference is other configs) , need to flexibly specify the intermediate directory structure.

Describe possible solutions

Add an API to set the intermediate directory structure; it is best to specify it in the on_config script field, which can achieve some more complex operations, such as calculating a hash as an intermediate directory based on all configs

Describe your alternatives

No response

other information

No response

from xmake.

waruqi avatar waruqi commented on August 27, 2024

加了个 build.intermediate_directory policy,可以禁用生成中间目录。set_policy("build.intermediate_directory", false)

#5283

然后,你直接 set_targetdir/set_objectdir/set_dependir 设置就行了。。但只能在 on_load 里面改,on_config 不行,太滞后

from xmake.

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.