AIcademics
Gallery
Toggle theme
Sign In
How to build a large C/C++ project
Unit 1
Basics of Cmake
Introduction to CMake
CMake Variables and Commands
CMake Build Process
CMake Modules and Packages
CMake Best Practices
Unit 2
Make versus Ninja
Introduction to Make and Ninja
Make Build System in Depth
Ninja Build System in Depth
Unit 1 • Chapter 4
CMake Modules and Packages
Summary
false
Concept Check
What is a CMake module?
Package manager for C++
Directory with source files
Command-line tool for compiling
File with function definitions
How are CMake packages installed?
By running make install
By specifying in CMakeLists.txt
Using apt-get command
Through a web browser
What do CMake modules contain?
Python scripts
Pre-compiled binary files
Reusable CMake code snippets
Java source code
Why are CMake packages used?
To distribute libraries and tools
To write unit tests
To debug C++ code
To create GUI applications
How are CMake modules imported?
By copying the files manually
Using include or find_package
By installing a plugin
By using a virtual environment
Check Answer
Previous
CMake Build Process
Next
CMake Best Practices