bash <(wget https://xmake.io/shget.text -O -)
curl -fsSL https://xmake.io/shget.text | bash
vscode + xmake + gcc
https://xrepo.xmake.io/#/packages
xrepo ,apt ,conan,vcpkg,cmake,and make install
# make install at "/usr/local/lib"
xmake l find_package fmt
xmake l find_package cmake::fmt
xmake l find_package conan::fmt
xmake l find_package apt::fmt
xmake
xmake install --admin
xmake f --menu xmake gui
https://xmake.io/mirror/zh-cn/guide/configuration.html
https://xmake.io/#/package/remote_package?id=manual-download
xmake g --pkg_searchdirs="~/lib"
export XMAKE_MAIN_REPO=https://gitee.com/xmake-io/xmake-repo.git
export XMAKE_BINARY_REPO=https://gitee.com/xmake-mirror/build-artifacts.git
curl:(60) SSL
curl -k https://github.com
xmake update -s dev xmake update
or use
bash <(curl -fsSL https://xmake.io/shget.text)
curl -fsSL https://xmake.io/shget.text | bash
xrepo update-repo xmake f -c xmake
``
xmake check clang.tidy --fix xmake check clang.tidy --fix_errors xmake check clang.tidy --fix_notes
$ xmake f --qt=/home/xxx/qtsdk 或者设置到全局路径,避免每次编译切换都要配置一遍: $ xmake g --qt=/home/xxx/qtsdk
xmake g --pkg_searchdirs=/xxx
-- apt packages
-- add_requires("apt::libxtensor-dev", {system = true})
-- add_requires("opencv", {system = true})
-- cmake packages
-- add_requires("cmake::xtensor", {system = true})
-- conan packages
-- add_requires("conan::xxx 1.0.2", {alias = "xxx",debug = true})
-- native xmake packages and make install package in "/usr/local/lib"
-- add_requires("tbox master", {debug = true})
xmake g --pkg_searchdirs=/xxx
-- add_defines("")
-- add_linkdirs("lib/")
-- add_rpathdirs("@loader_path/lib") -- load file path of shared file for debuging
bear -- xmake -b implot_csv