# **xmake** notes ## Configuer toolchain use MSVC on Windows git shell ```= xmake f --plat=windows --arch=x64 --host=windows ``` ## Cofiguer debug or release mode build ### **debug** mode ```shell xmake f -m debug ``` ### **release** mode ```shell xmake f -m release ``` ## Add library In **xmake.lua** ### static link ```lua add_requires("vcpkg::gtest") ``` ### dynamic link ```lua add_requires("vcpkg::wxwidgets", {configs = {shared = true}}) ``` ###### tags: `xmake`
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up