I apologise for this: What's wrong with premake which is also Lua based? when I meant: What advantage does this have over premake which is also Lua based?
Xmake: A cross-platform build utility based on Lua
21–30 of 41 posts
Re: Xmake: A cross-platform build utility based on Lua
#22I apologise for this: What's wrong with premake which is also Lua based? when I meant: What advantage does this have over premake which is also Lua based?
What’s wrong with xmake which is also Lua based?
Re: Xmake: A cross-platform build utility based on Lua
#23Earlier quoted context omitted.
What’s wrong with xmake which is also Lua based?
https://news.ycombinator.com/item?id=46511599 similar reasoning
A better wording would be "what advantage does this have over premake which is also Lua based".
Re: Xmake: A cross-platform build utility based on Lua
#24Re: Xmake: A cross-platform build utility based on Lua
#25Earlier quoted context omitted.
As far as I am aware, there no integrations available with Visual Studio, and not sure about C++20 modules and import std support.
It can generate a Visual Studio project, then use the xmake CLI to integrate and compile the project, and supports debugging and IntelliSense. https://xmake.io/guide/extensions/builtin-plugins.html#gener... C++ Modules examples: https://xmake.io/examples/cpp/cxx-modules.html https://github.com/xmake-io/xmake/tree/dev/tests/projects/c%...
Re: Xmake: A cross-platform build utility based on Lua
#26Earlier quoted context omitted.
https://news.ycombinator.com/item?id=46511599 similar reasoning
I honestly didn't mean it like that, but I can understand that it comes across that way. A better wording would be "what advantage does this have over premake which is also Lua based".
Re: Xmake: A cross-platform build utility based on Lua
#27Re: Xmake: A cross-platform build utility based on Lua
#28At my work we use MSBuild and vcpkg. What would a transition from that to XMake be like?
As far as I am aware, there no integrations available with Visual Studio, and not sure about C++20 modules and import std support.
It took just a couple of minutes to have a working example that fully supported C++ modules and `import std`:
set_languages("c++23")
add_rules("mode.debug", "mode.release")
target("mytest")
set_kind("static")
add_files("src/*.cpp")
add_files("src/*.cppm", {public = true})
set_policy("build.c++.modules", true)Re: Xmake: A cross-platform build utility based on Lua
#29A teammate evaluated this and the experience was night and day compared to cmake + vcpkg. However, there wasn’t a lot of motivation to cutover our existing large project over because of the unknown unknowns. I think projects like these looking to dethrone the status quo definitely need some case studies or examples of larger projects using it to increase confidence because I’d much rather use xmake over cmake if it c…
Anyways, not going to die on that hill and I'll keep using it because it's simple and works well for my needs. One thing I do like is that I am not having to constantly keep a skeleton CMake project around to copy paste and setup.
Re: Xmake: A cross-platform build utility based on Lua
#30Earlier quoted context omitted.
I honestly didn't mean it like that, but I can understand that it comes across that way. A better wording would be "what advantage does this have over premake which is also Lua based".
Tbh, why does it matter what it's written in? Does it do the job?