chrgfx

(★ 78)

Converts to and from tile based graphics used in retro video games

파일 탐색기

  • .clang-format
  • .clangd
  • .editorconfig
  • .gitignore
  • CMakeLists.txt
  • Doxyfile
  • graphics.md
  • LICENSE
  • README.md

# CDN으로 사용하기

jsDelivr

jsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.

명령어 용어집

이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.

🔍

cmake

설명 보기 ▼

네이티브 빌드 시스템을 위한 빌드 설정 파일을 생성하는, 크로스 플랫폼 빌드 자동화 도구.
더 많은 정보: <https://cmake.org/cmake/help/latest/manual/cmake.1.html>.

cmake {{path/to/project_directory}}

프로젝트 디렉터리의 `CMakeLists.txt`를 사용해 현재 디렉터리에 빌드 설정을 생성:

cmake --build {{path/to/build_directory}}

지정한 디렉터리의 빌드 설정을 사용해 빌드 산출물을 생성:

cmake --install {{path/to/build_directory}} --strip

빌드 산출물을 `/usr/local/`에 설치하고 디버그 심볼을 제거:

🔍

xargs

설명 보기 ▼

다른 명령, 파일 등으로부터 전달된 인수를 사용하여 명령을 실행.
입력은 하나의 텍스트 블록으로 처리되며 공백, 탭, 개행 및 파일 끝에서 별개의 조각으로 분리됩니다.
관련 항목: `parallel`.
더 많은 정보: <https://www.gnu.org/software/findutils/manual/html_mono/find.html#Invoking-xargs>.

{{arguments_source}} | xargs {{command}}

입력 데이터를 인수로 사용하여 명령 실행:

{{arguments_source}} | xargs sh -c "{{command1}} && {{command2}} | {{command3}}"

입력 데이터에 대해 여러 연결된 명령 실행:

{{arguments_source}} | xargs {{[-n|--max-args]}} 1 {{command}}

여러 스레드를 활용하여 `.log` 확장자를 가진 모든 파일을 gzip으로 압축 (`-print0`는 파일 이름을 null 문자로 분리하고, `-0`은 이를 구분자로 사용):

🔍

ldconfig

설명 보기 ▼

Configure symlinks and cache for shared library dependencies.

sudo ldconfig

Update symlinks and rebuild the cache (usually run when a new library is installed):

sudo ldconfig -n {{path/to/directory}}

Update the symlinks for a given directory:

ldconfig {{[-p|--print-cache]}} | grep {{library_name}}

Print the libraries in the cache and check whether a given library is present:

// repository documentation