ENع
الدرس 25 · Building and performance

Building with CMake

لم يُترجم بعد؛ يُعرض باللغة الإنجليزية

A real C++ project has many files, and typing a compiler command for each one does not scale. CMake lets you describe the project once, as targets in a CMakeLists.txt, and turns that into a build system with a build graph: every output file and the files it is made from. Follow a three-file project through configure, build and run, then edit one file and watch only the files that depend on it rebuild.

11 دقيقة10 خطوات5 أسئلةAdvanced
شكل 25 · تفاعلي
جارٍ تحميل الرسم…
أو ← →

اختبار يتاح بعد الخطوة الأخيرة.