CMake generator yog dab tsi?
CMake generator yog dab tsi?

Video: CMake generator yog dab tsi?

Video: CMake generator yog dab tsi?
Video: CMake Tutorial EP 10 | Running CMake on Windows (like linux) (Over-explained) 2024, Tej zaum
Anonim

A CMake Generator Nws yog lub luag haujlwm rau kev sau cov ntaub ntawv nkag rau hauv ib txwm muaj qhov system. Raws nraim ib qho ntawm CMake Generators yuav tsum tau xaiv rau ib tsob ntoo tsim los txiav txim seb lub hauv paus tsim yuav siv li cas. CMake Generators yog lub platform tshwj xeeb yog li txhua tus tuaj yeem muaj nyob ntawm qee lub platforms.

Ib yam li ntawd, tib neeg nug, CMake siv rau dab tsi?

CMake yog tus ntoo khaub lig-platform dawb thiab qhib-qhov chaw software rau kev tswj cov txheej txheem tsim software siv cov txheej txheem compiler-ywj siab. Nws txhawb cov npe hierarchies thiab cov ntawv thov uas nyob ntawm ntau lub tsev qiv ntawv.

Qhov thib ob, koj siv CMake GUI li cas? Khiav cmk ua - ua gui Rau siv nws, run cmk ua - ua gui , sau rau hauv qhov chaw thiab binary folder paths, ces nyem Configure. Yog tias tsis muaj binary folder, CMake yuav hais kom koj tsim nws. Tom qab ntawd nws yuav hais kom koj xaiv lub tshuab hluav taws xob.

Ntxiv mus, CMake hais kom ua yog dab tsi?

Cov " cmk ua "executable yog CMake lus txib - kab interface. Nws tuaj yeem siv los teeb tsa cov haujlwm hauv cov ntawv sau. CMake yog ib tug cross-platform tsim system generator. Cov phiaj xwm qhia lawv cov txheej txheem tsim nrog platform-ywj siab CMake listfiles suav nrog hauv txhua daim ntawv teev npe ntawm tsob ntoo nrog lub npe CMakeLists. txt.

Ninja CMake yog dab tsi?

Ninja yog ib qho kev tsim me me nrog kev tsom mus rau kev ceev. Nws kuj yog siv los tsim Android , thiab yog siv los ntawm cov neeg tsim khoom feem ntau ua haujlwm ntawm LLVM. Nyob rau hauv sib piv rau Ua, Ninja lacks nta xws li hlua manipulation, xws li Ninja tsim cov ntaub ntawv tsis yog txhais los ntawm tes.

Pom zoo: