Typically, you only need to execute the following command for compiling project.
bash
xmake
xmake will probe your host environment and target platform automaticly.
The default mode is release and xmake will compile all targets.
You can compile only one given target which name is 'test' for executing the follo继续阅读 »
xmake can run and debug the given target program now.
We only need configure the debug mode to compile this target and run it.
e.g.
```lua
-- enable debug symbols
if is_mode("debug")
set_symbols("debug")
end
-- define target
target("demo")
set_kind("kind")
add_files("src/*.c")
```
And we compile and r继续阅读 »
You can use xmake to run the given target and need not know where is the target program.
e.g.
We define a simple target with named 'test'.
lua
target("test")
set_kind("console")
add_files("*.c")
So, we can run it directly.
bash
$xmake r test
or $xmake run test
xmake will compile it 继续阅读 »
xmake will automatically detect the system environment and create the most appropriate configuration to compile project when building a program
Usually we only need to run:
bash
$ xmake
And it will not re-generate configuration if the project description has not changed.
But we can also modify configuration manual继续阅读 »
Links
Homepage
Documents
New features
Add aur package script and support to install xmake from yaourt
Add set_basename api for target
Changes
Support vs2017
Support compile rust for android
Improve vs201x project plugin and support multi-modes compilation.
Bugs fixed
Fix cannot find android sdk header files
Fix che继续阅读 »