CMake is a cross-platform free and open-source software tool for managing the build process of software using a compiler-independent method. It supports directory hierarchies and applications that depend on multiple libraries.
Installation of CMake
CMake in Python can be easily installed with the use of pip package management tool provided by python. Just use the following command for the Installation process:
pip install cmake
Setting up Environment Variable
Step 1: Open https://cmake.org/ and click on Downloads
Step 2: Download the Zip file of CMake.
Step 3: Extract the file and copy the bin file path.
Step 4: Go to Control Panel -> System and Security -> System
Under Advanced System Setting option click on Environment Variables as shown below:
Step 6: Now, we have to alter the “Path” variable under System variables so that it also contains the path to the CMake environment. Select the “Path” variable and click on the Edit button as shown below:
Step 7: We will see a list of different paths, click on the New button, and then add the path where CMake was installed and then click OK.
Attention geek! Strengthen your foundations with the Python Programming Foundation Course and learn the basics.
To begin with, your interview preparations Enhance your Data Structures concepts with the Python DS Course. And to begin with your Machine Learning Journey, join the Machine Learning – Basic Level Course