HackerTrans
TopNewTrendsCommentsPastAskShowJobs

danny0z

no profile record

Submissions

Xmake v3.0.2 released, Improve C++ modules and new native thread support

github.com
2 points·by danny0z·11 mesi fa·0 comments

Xmake v3.0 released, Improve C++ modules and jobgraph support

github.com
4 points·by danny0z·anno scorso·0 comments

[untitled]

1 points·by danny0z·3 anni fa·0 comments

Show HN: A cross-platform C/C++ package manager based on Xmake

github.com
1 points·by danny0z·3 anni fa·0 comments

[untitled]

1 points·by danny0z·3 anni fa·0 comments

[untitled]

1 points·by danny0z·3 anni fa·0 comments

[untitled]

1 points·by danny0z·3 anni fa·0 comments

[untitled]

1 points·by danny0z·3 anni fa·0 comments

[untitled]

1 points·by danny0z·3 anni fa·0 comments

[untitled]

1 points·by danny0z·4 anni fa·0 comments

[untitled]

1 points·by danny0z·4 anni fa·0 comments

[untitled]

1 points·by danny0z·4 anni fa·0 comments

Show HN: A glib-like multi-platform C library

github.com
48 points·by danny0z·4 anni fa·12 comments

Xmake v2.6.5 released, Support remote compilation

github.com
2 points·by danny0z·4 anni fa·1 comments

Xmake and C/C++ Package Management

github.com
39 points·by danny0z·4 anni fa·22 comments

A new C/C++ package manager wrapper for CMake

github.com
1 points·by danny0z·4 anni fa·0 comments

Xmake v2.5.9 Released, Improve C++20 Modules, Support Nim, MDK and Unity Build

github.com
4 points·by danny0z·5 anni fa·0 comments

comments

danny0z
·6 mesi fa·discuss
It also supports this syntax.

    target("foo", {
      kind = "binary",
      files = { "src/*.cpp" },
      includedirs = { "src" },
      defines = { "FOO", "BAR=BAZ" },
    })
https://xmake.io/guide/project-configuration/syntax-descript...
danny0z
·6 mesi fa·discuss
> not have `target("name", function (ctx) ... end)`.

It supports this syntax.

https://xmake.io/guide/project-configuration/syntax-descript...

  target("foo", function ()
      set_kind("binary")
      add_files("src/*.cpp")
      add_defines("FOO")
  end)
danny0z
·6 mesi fa·discuss
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%...
danny0z
·2 anni fa·discuss
xmake also support D and dub.
danny0z
·3 anni fa·discuss
we can also try xmake. https://github.com/xmake-io/xmake

Xmake can be used to directly build source code (like with Make or Ninja), or it can generate project source files like CMake or Meson. It also has a built-in package management system to help users integrate C/C++ dependencies.
danny0z
·4 anni fa·discuss
try

    wget https://github.com/xmake-io/xmake/releases/download/v2.6.5/xmake-v2.6.5.tar.gz
    tar xf xmake-v2.6.5.tar.gz 
    make build
we need not run `cd xmake`
danny0z
·4 anni fa·discuss
no, it should be `v2.6.5/xmake-v2.6.5.tar.gz` instead of `tags/v2.6.5.tar.gz`

    https://github.com/xmake-io/xmake/releases/download/v2.6.5/xmake-v2.6.5.tar.gz
danny0z
·4 anni fa·discuss
we need pull all submodules, you can see https://xmake.io/#/guide/installation?id=installation

    git submodule update --init
Or you can download full source code from releases. https://github.com/xmake-io/xmake/releases/download/v2.6.5/x...
danny0z
·4 anni fa·discuss
Xmake is also based on tbox as a c base library.
danny0z
·4 anni fa·discuss
you can also try xmake. It use lua, not DSL.

https://github.com/xmake-io/xmake
danny0z
·4 anni fa·discuss
We can also try https://github.com/xmake-io/xmake
danny0z
·4 anni fa·discuss
Xmake has Clion/IDEA, vscode, vs, sublime and qtcreator plugin.
danny0z
·5 anni fa·discuss
xmake can also easily write some lua scripts to dump the build dependency graph https://github.com/xmake-io/xmake