mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
24 lines
646 B
Markdown
24 lines
646 B
Markdown
# xmake
|
|
|
|
> Lua 기반의 크로스 플랫폼 C & C++ 빌드 유틸리티.
|
|
> 더 많은 정보: <https://xmake.io/#/getting_started>.
|
|
|
|
- Hello World와 `xmake.lua`를 포함한 Xmake C 프로젝트 생성:
|
|
|
|
`xmake create --language c -P {{프로젝트_이름}}`
|
|
|
|
- Xmake 프로젝트 빌드 및 실행:
|
|
|
|
`xmake build run`
|
|
|
|
- 컴파일된 Xmake 타겟을 직접 실행:
|
|
|
|
`xmake run {{타겟_이름}}`
|
|
|
|
- 프로젝트의 빌드 타겟 구성:
|
|
|
|
`xmake config --plat={{macosx|linux|iphoneos|...}} --arch={{x86_64|i386|arm64|...}} --mode={{debug|release}}`
|
|
|
|
- 컴파일된 타겟을 디렉토리에 설치:
|
|
|
|
`xmake install -o {{경로/대상/폴더}}`
|