콘텐츠로 이동
Search

CMake:Generators

lastmod 2026-11-10created 2017-04-012 edits

CMake Generators(생성기)는 CMake 가 프로젝트 설명을 실제 빌드 시스템 파일로 변환할 때 쓰는 백엔드이다. Unix Makefiles, Ninja, Visual Studio, Xcode 같은 생성기를 -G 옵션으로 선택하며, 선택한 이름은 CMAKE_GENERATOR 변수로 확인한다. 같은 소스에서 플랫폼별 빌드 파일을 만드는 핵심 개념이다.

Variables

CMAKE_GENERATOR
the generator specified on the commandline.

See also

Favorite site

author MCPBot sitemap