[PR #302] [MERGED] Implement ${METHOD_DIR} recognition in umk #295

Closed
opened 2026-05-05 03:45:04 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ultimatepp/ultimatepp/pull/302
Author: @klugier
Created: 10/11/2025
Status: Merged
Merged: 10/14/2025
Merged by: @mirek-fidler

Base: masterHead: klugier/umk-method-dir-recognition


📝 Commits (1)

  • 0a7677b Implement build method recognition in umk.

📊 Changes

1 file changed (+18 additions, -0 deletions)

View changed files

📝 uppsrc/umk/umake.cpp (+18 -0)

📄 Description

Thanks to that change we will be able to bundle umk with toolchain on Windows and distribute such package. Thanks to that it will open the possibilities of build many packages including these from UppHub directly from the terminal.

Here is the sample build method for CLANG on Windows that will be handled correctly after these changes:

PATH = "${METHOD_DIR}\\bin\\clang\\bin;${METHOD_DIR}\\bin\\clang\\x86_64-w64-mingw32\\bin;${METHOD_DIR}\\bin\\SDL2\\lib\\x64;${METHOD_DIR}\\bin\\pgsql\\x64\\bin;${METHOD_DIR}\\bin\\mysql\\lib64";
INCLUDE = "${METHOD_DIR}\\bin\\SDL2\\include;${METHOD_DIR}\\bin\\pgsql\\x64\\include;${METHOD_DIR}\\bin\\mysql\\include;${METHOD_DIR}\\bin\\llvm";
LIB = "${METHOD_DIR}\\bin\\SDL2\\lib\\x64;${METHOD_DIR}\\bin\\pgsql\\x64\\lib;${METHOD_DIR}\\bin\\mysql\\lib64;${METHOD_DIR}\\bin\\llvm";

The umk Windows package will looks as follow
Zrzut ekranu 2025-10-11 184617
In above image bin folder has exactly the same content as bin directory in regular Windows U++ distribution.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ultimatepp/ultimatepp/pull/302 **Author:** [@klugier](https://github.com/klugier) **Created:** 10/11/2025 **Status:** ✅ Merged **Merged:** 10/14/2025 **Merged by:** [@mirek-fidler](https://github.com/mirek-fidler) **Base:** `master` ← **Head:** `klugier/umk-method-dir-recognition` --- ### 📝 Commits (1) - [`0a7677b`](https://github.com/ultimatepp/ultimatepp/commit/0a7677b74fda72ff6d9806b64225b4ad7e5a3f76) Implement build method recognition in umk. ### 📊 Changes **1 file changed** (+18 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `uppsrc/umk/umake.cpp` (+18 -0) </details> ### 📄 Description Thanks to that change we will be able to bundle umk with toolchain on Windows and distribute such package. Thanks to that it will open the possibilities of build many packages including these from UppHub directly from the terminal. Here is the sample build method for CLANG on Windows that will be handled correctly after these changes: ``` PATH = "${METHOD_DIR}\\bin\\clang\\bin;${METHOD_DIR}\\bin\\clang\\x86_64-w64-mingw32\\bin;${METHOD_DIR}\\bin\\SDL2\\lib\\x64;${METHOD_DIR}\\bin\\pgsql\\x64\\bin;${METHOD_DIR}\\bin\\mysql\\lib64"; INCLUDE = "${METHOD_DIR}\\bin\\SDL2\\include;${METHOD_DIR}\\bin\\pgsql\\x64\\include;${METHOD_DIR}\\bin\\mysql\\include;${METHOD_DIR}\\bin\\llvm"; LIB = "${METHOD_DIR}\\bin\\SDL2\\lib\\x64;${METHOD_DIR}\\bin\\pgsql\\x64\\lib;${METHOD_DIR}\\bin\\mysql\\lib64;${METHOD_DIR}\\bin\\llvm"; ``` The umk Windows package will looks as follow <img width="720" height="282" alt="Zrzut ekranu 2025-10-11 184617" src="https://github.com/user-attachments/assets/16671570-d96d-4a9e-9e9d-c7008392f701" /> In above image bin folder has exactly the same content as bin directory in regular Windows U++ distribution. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 03:45:04 -06:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/ultimatepp#295
No description provided.