mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
[PR #341] [MERGED] UMK: implemented --out-dir optional command line argument. #327
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/ultimatepp#327
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ultimatepp/ultimatepp/pull/341
Author: @klugier
Created: 1/5/2026
Status: ✅ Merged
Merged: 1/9/2026
Merged by: @mirek-fidler
Base:
master← Head:klugier/umk-out-dir-flag📝 Commits (1)
91fcd8dUMK: implemented --out-dir optional command line argument.📊 Changes
3 files changed (+53 additions, -17 deletions)
View changed files
📝
uppsrc/ide/app.tpp/umk_en-us.tpp(+5 -0)📝
uppsrc/ide/app.tpp/umk_en-us.tppi(+12 -12)📝
uppsrc/umk/umake.cpp(+36 -5)📄 Description
This change introduces new --out-dir command line argument for UMK. The main motivation behind it is to isolate the build to avoid problems. Last week I had an issue when project builds fine with TheIDE, but there were linking problem when building it on Mac. Cleaning cache directory helped to solve this problem. Also, with this change you can specify output directory within repo directory and thanks to that we can force to rebuild the whole project by simply removing build directory.
While 'a' option is useful when you are using umk directly in your terminal, it is less handy when using the build automation tools such as Makefiles or Justfiles.
Usage example:
To force rebuild, just run
I was also considering --cache-dir, but in the end decided to stay with --out-dor. Please let me know if you have any concerns about naming convention.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.