Skip to content

Improve target:set, target:add and add target:del to modify target configuration #353

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
16 tasks done
waruqi opened this issue Feb 15, 2019 · 0 comments
Closed
16 tasks done
Milestone

Comments

@waruqi
Copy link
Member

waruqi commented Feb 15, 2019

Roadmaps

  • Improve target:add(), target:set()
  • Improve option:add(), option:set()
    • Constrains api pass parameter format
    • Ensure the behavior is consistent with usage in the description scope
      • add values
        • target:add("defines", "XXX", "YYY", "ZZZ")
      • add pathes
        • target:add("files", "src/*.c", {defines = "xx"})
          -> Is equivalent to add_files("src/*.c", {defines = "xx"})
      • set key values
        • target:set("configvar", "KEY", "VALUE")
      • add settings dictionary
        • target:add({links = "", defines = {""}})
      • add settings array
        • target:add({{links = "", defines = {""}}, {links = "", defines = {""}}})
  • Add target:del(), option:del()
    • target:del("files", "src/*.c")
@waruqi waruqi added this to the v2.2.5 milestone Feb 15, 2019
@waruqi waruqi changed the title Improve target:set, target:add and add target:remove to modify target configuration Improve target:set, target:add and add target:del to modify target configuration Feb 17, 2019
@waruqi waruqi closed this as completed Mar 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant