Nim icon indicating copy to clipboard operation
Nim copied to clipboard

implements RFC 463; produce gcc compatible dep files

Open ringabout opened this issue 1 year ago • 4 comments

closes https://github.com/nim-lang/RFCs/issues/463

todo

  • [ ] tests
  • [ ] changelog
  • [ ] better error messages
  • [ ] make logic robust
  • [ ] allow specifying the nim executable
  • [ ] allow specifying nimcache

ringabout avatar Aug 05 '22 07:08 ringabout

Could you rebase commits for cleaner logs?

CyberTailor avatar Aug 05 '22 15:08 CyberTailor

So nimgendeps is a wrapper around nim c? Very clever!

CyberTailor avatar Aug 05 '22 15:08 CyberTailor

Also I'd:

  1. pass all unknown options to Nim
  2. add "--nim" option to set Nim executable
  3. respect "--nimcache" option
  4. add help output

CyberTailor avatar Aug 05 '22 17:08 CyberTailor

Depfile should be written not for "src" but for out binary.

CyberTailor avatar Aug 05 '22 17:08 CyberTailor

  1. pass all unknown options to Nim
  2. add "--nim" option to set Nim executable
  3. respect "--nimcache" option
  4. add help output
  5. Depfile should be written not for "src" but for out binary.

@CyberTailor Thanks for your suggestions. The points above are solved.

ringabout avatar Aug 16 '22 07:08 ringabout

@ringabout Please see comments

Varriount avatar Aug 26 '22 20:08 Varriount

This pull request is stale because it has been open for 1 year with no activity. Contribute more commits on the pull request and rebase it on the latest devel, or it will be closed in 30 days. Thank you for your contributions.

github-actions[bot] avatar Aug 27 '23 00:08 github-actions[bot]

This pull request has been marked as stale and closed due to inactivity after 395 days.

github-actions[bot] avatar Sep 27 '23 00:09 github-actions[bot]