xmake is a lightweight cross-platform build tool based on Lua. It uses xmake.lua to maintain project builds. Compared with makefile/CMakeLists.txt, the configuration syntax is more Concise and intuitive, very friendly to novices, can get started quickly in a short time, allowing users to focus more on the actual projec继续阅读 »
This release introduces a number of new feature updates, as detailed in Some new features of xmake v2.1.5.
If you want to known more usage, please see online documents。
Source code: Github, Gitee.
New features
#83: Add add_csnippet and add_cxxsnippet into option for detecting some compiler features.
#83: Add user e继续阅读 »
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("继续阅读 »