Options (11)
-l, --languagebooleanCreate an Xmake C project, consisting of a hello world and `xmake.lua`
Example:
xmake create {{[-l|--language]}} {{[c|clean]}} {{[-P|--project]}} {{project_name}}booleanCreate an Xmake C project, consisting of a hello world and `xmake.lua`
Example:
xmake create {{[-l|--language]}} {{[c|clean]}} {{[-P|--project]}} {{project_name}}-P, --projectbooleanCreate an Xmake C project, consisting of a hello world and `xmake.lua`
Example:
xmake create {{[-l|--language]}} {{[c|clean]}} {{[-P|--project]}} {{project_name}}booleanBuild and run an Xmake project
Example:
xmake {{[b|build]}} {{[r|run]}}booleanBuild and run an Xmake project
Example:
xmake {{[b|build]}} {{[r|run]}}booleanConfigure a project's build targets
Example:
xmake {{[f|config]}} {{[-p |--plat=]}}{{macosx|linux|iphoneos|...}} {{[-a |--arch=]}}{{x86_64|i386|arm64|...}} {{[-m |--mode=]}}{{debug|release}}-pbooleanConfigure a project's build targets
Example:
xmake {{[f|config]}} {{[-p |--plat=]}}{{macosx|linux|iphoneos|...}} {{[-a |--arch=]}}{{x86_64|i386|arm64|...}} {{[-m |--mode=]}}{{debug|release}}-abooleanConfigure a project's build targets
Example:
xmake {{[f|config]}} {{[-p |--plat=]}}{{macosx|linux|iphoneos|...}} {{[-a |--arch=]}}{{x86_64|i386|arm64|...}} {{[-m |--mode=]}}{{debug|release}}-mbooleanConfigure a project's build targets
Example:
xmake {{[f|config]}} {{[-p |--plat=]}}{{macosx|linux|iphoneos|...}} {{[-a |--arch=]}}{{x86_64|i386|arm64|...}} {{[-m |--mode=]}}{{debug|release}}booleanInstall the compiled target to a directory
Example:
xmake {{[i|install]}} {{[-o |--installdir=]}}{{path/to/directory}}-obooleanInstall the compiled target to a directory
Example:
xmake {{[i|install]}} {{[-o |--installdir=]}}{{path/to/directory}}Examples (5)
Create an Xmake C project, consisting of a hello world and `xmake.lua`
xmake create [-l|--language] [c|clean] [-P|--project] project_nameBuild and run an Xmake project
xmake [b|build] [r|run]Run a compiled Xmake target directly
xmake [r|run] target_nameConfigure a project's build targets
xmake [f|config] [-p |--plat=]macosx|linux|iphoneos|... [-a |--arch=]x86_64|i386|arm64|... [-m |--mode=]debug|releaseInstall the compiled target to a directory
xmake [i|install] [-o |--installdir=]path/to/directorymade by @shridhargupta | data from tldr-pages