$xmake l scripts/new.lua github:glennrp/libpngpackage("libpng") set_homepage("http://libpng.sf.net") set_description("LIBPNG: Portable Network Graphics support, official libpng repository") add_urls("https://github.com/glennrp/libpng/archive/refs/tags/$(version).tar.gz", "https://github...
开发环境选在WSL2下的Ubuntu 20.04,这里首先用apt来安装xmake。sudo add-apt-repository ppa:xmake-io...
├── main.lua# xmake的主入口├── package# 包依赖支持│ ├── package.lua │ └── repository.lua ├── platform# 平台管理│ ├── environment.lua │ ├── menu.lua │ └── platform.lua ├── project# 工程管理相关的一些模块│ ├── cache.lua# 工程缓存维护│ ├── con...
GIT_REPOSITORY"https://github.com/onqtam/doctest"GIT_TAG"932a2ca50666138256dae56fbb16db3b1cae133a") FetchContent_Declare( Range-v3 GIT_REPOSITORY"https://github.com/ericniebler/range-v3"GIT_TAG"4d6a463bca51bc316f9b565edd94e82388206093") FetchContent_MakeAvailable(DocTest Range-v3)add_executabl...
sudo add-apt-repository ppa:xmake-io/xmake sudo apt update sudo apt install xmake 同时,我们也将包提交到了 Copr 包管理仓库,使得我们也可以在 Fedora, RHEL,OpenSUSE,CentOS 等发行版中,通过 dnf 来快速安装 xmake。 sudo dnf copr enable waruqi/xmake sudo dnf install xmake 入门课程 近期,我们也上线了...
使用安装包下载,通过xmake-dev.win64.exe下载对应的EXE文件,下载完成后,直接一直下一步,直到完成即可。 Linux系统 使用apt安装 sudo add-apt-repository ppa:xmake-io/xmake sudo apt update sudo apt install xmake 使用 创建项目 找个一个空的文件夹,打开命令行,输入 xmake create hello, 会生成一个hello worl...
📦 An official xmake package repository . Contribute to xmake-io/xmake-repo development by creating an account on GitHub.
$ xmake l scripts/new.lua github:glennrp/libpng package("libpng") set_homepage("http://libpng.sf.net") set_description("LIBPNG: Portable Network Graphics support, official libpng repository") add_urls("https://github.com/glennrp/libpng/archive/refs/tags/$(version).tar.gz", "https://...
introductory course New version changes There are two major new features in this version: Linux kernel driver module construction support Group construction and batch operation support, can be used to realize the function ofRun all tests The rest are mainly scattered function improvements and bug fi...
remove global repository(conan): ok! 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 在xmake.lua下写就更简单了,增加一句话就行: add_requires("zlib 1.2.11") 1. 还可以用其他包管理器的包,比如: add_requires("vcpkg::zlib 1.2.11") ...