From 1540407efbaa6dd12050b703be7bd2729665a468 Mon Sep 17 00:00:00 2001 From: Stefan Boberg Date: Fri, 22 Sep 2023 15:52:59 +0200 Subject: added support for sln on Mac (#421) this makes it so users can use xmake sln on Mac as well as Windows to generate IDE files --- CHANGELOG.md | 3 +++ xmake.lua | 14 ++++++++++---- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 840b6d637..ea9416509 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,9 @@ - Improvement: Add names to background jobs for easier debugging - Improvement: Background jobs now temporarily sets thread name to background job name while executing - Improvement: Background jobs tracks worker thread id used while executing +- Improvement: `xmake sln` can now be used on Mac as well to generate project files +- Improvement: http.sys request queues are named to make it easier to find performance counters in Performance Monitor and such +- Improvement: http.sys - if request rate is too high then rejected requests will get a 503 response instead of a dropped connection ## 0.2.23 - Bugfix: Respect result from FinalizeRef in Jupiter oplog upload where it requests missing attachments diff --git a/xmake.lua b/xmake.lua index df44dc7e6..deb541590 100644 --- a/xmake.lua +++ b/xmake.lua @@ -190,11 +190,17 @@ task("precommit") task("sln") set_menu { usage = "xmake sln", - description = "Generate Visual Studio project files", + description = "Generate IDE project files", } - on_run(function () - print(os.exec("xmake project --yes --kind=vsxmake2022 -m release,debug -a x64")) - end) + if is_os("windows") then + on_run(function () + print(os.exec("xmake project --yes --kind=vsxmake2022 -m release,debug -a x64")) + end) + elseif is_os("macosx") then + on_run(function () + print(os.exec("xmake project --yes --kind=xcode -m release,debug -a x64,arm64")) + end) + end task("test") set_menu { -- cgit v1.2.3