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 继续阅读 »
We create an empty console project first:
```bash
$ xmake create -P ./hello
create hello ...
create ok!👌
```
And xmake will generate some files:
```bash
$ cd ./hello
$ tree .
.
├── src
│ └── main.c
└── xmake.lua
```
It is a simple console program only for printing hello xmake!
```bash
$ cat ./src/main.c
incl继续阅读 »
Website
Sources
Changelog
New features
Add check includes dependence automatically
Add print colors
Add debugger support, .e.g xmake run -d program ...
Changes
Improve the interfaces of run shell
Upgrade luajit to v2.0.4
Improve to generate makefile plugin
Optimizate the multitasking compiling speed
Bugs fixed
Fi继续阅读 »
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继续阅读 »