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
This version provide safer xmake install and xmake uninstall.
New features
#65: Add set_default api for target to modify default build and install behavior
Allows to run xmake command in project subdirectories, it will find the project root directory automatically
Add add_rpathdirs for tar继续阅读 »
New features
Add some interpreter builtin-modules
Support ml64 assembler for windows x64
Changes
Improve ipairs and pairs interfaces and support filter
Add filters for generating vs201x project
Remove core/tools (msys toolchains) and uses xmake to compile core sources on windows
Remove xmake/packages for templates
Bu继续阅读 »
find_package
This interface refers to the design of CMake for the find_* interfaces, which finds and adds package dependencies in the project target.
lua
target("test")
set_kind("binary")
add_files("*.c")
on_load(function (target)
import("lib.detect.find_package")
target:add(find_package("继续阅读 »