1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 17:02:09 +02:00
tldr/pages.ko/common/cppclean.md
Lucas Gabriel Schneider a5fe31bc47
multiple pages: format technical tokens (#5119)
Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com>
Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
2021-01-31 12:05:18 -05:00

20 lines
559 B
Markdown

# cppclean
> C++ 프로젝트에서 사용하지 않는 코드 찾기.
> 더 많은 정보: <https://github.com/myint/cppclean>.
- 프로젝트 디렉토리에서 실행:
`cppclean {{프로젝트/의/경로}}`
- 헤더가 `inc1/``inc2/` 디렉토리에 있는 프로젝트에서 실행:
`cppclean {{프로젝트/의/경로}} --include-path={{inc1}} --include-path={{inc2}}`
- 특정 팡리 `main.cpp`에서 실행:
`cppclean {{main.cpp}}`
- `build`디렉토리를 제외한 현재 디렉토리에서 실행:
`cppclean {{.}} --exclude={{build}}`