Better HN
topnewbestaskshowjobs
Log inSign up

danny0z

65 karma · joined Mar 29, 2020 (6y ago) · 34 submissions

Submissions

comment 10mo ago · link · parent

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...

comment 10mo ago · link · parent

> 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)

comment 10mo ago · link · parent

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%...

4.

Xmake v3.0.2 released, Improve C++ modules and new native thread support(github.com ↗)

2 points · by danny0z · 1y ago · discuss

5.

Xmake v3.0 released, Improve C++ modules and jobgraph support(github.com ↗)

4 points · by danny0z · 1y ago · discuss

comment 2y ago · link · parent

xmake also support D and dub.

7.

Show HN: A cross-platform C/C++ package manager based on Xmake(github.com ↗)

1 points · by danny0z · 3y ago · discuss

comment 3y ago · link · parent

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.

comment 4y ago · link · parent

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`

comment 4y ago · link · parent

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

comment 4y ago · link · parent

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...

comment 4y ago · link · parent

Xmake is also based on tbox as a c base library.

comment 4y ago · link · parent

you can also try xmake. It use lua, not DSL.

https://github.com/xmake-io/xmake

comment 4y ago · link · parent

We can also try https://github.com/xmake-io/xmake

15.

Show HN: A glib-like multi-platform C library(github.com ↗)

48 points · by danny0z · 4y ago · 12 comments

16.

Xmake v2.6.5 released, Support remote compilation(github.com ↗)

2 points · by danny0z · 4y ago · 1 comment

comment 4y ago · link · parent

Xmake has Clion/IDEA, vscode, vs, sublime and qtcreator plugin.

18.

Xmake and C/C++ Package Management(github.com ↗)

39 points · by danny0z · 4y ago · 22 comments

19.

A new C/C++ package manager wrapper for CMake(github.com ↗)

1 points · by danny0z · 4y ago · discuss

comment 4y ago · link · parent

xmake can also easily write some lua scripts to dump the build dependency graph https://github.com/xmake-io/xmake

21.

Xmake v2.5.9 Released, Improve C++20 Modules, Support Nim, MDK and Unity Build(github.com ↗)

4 points · by danny0z · 5y ago · discuss

12