Advance

How To Install CMake On Windows Server

How To Install CMake On Windows Server
0
(0)

CMake is an open-source and cross-platform family of tools for software development. Using CMake allows you to build, test, and package software. It can be used in the compiler environment of your choice and is suitable to control the software compilation process using a simple platform and compiler independent configuration files, and generate native makefiles and workspaces. CMake is part of Kitware’s collection and in this article, you will learn How To Install CMake On Windows Server. To provide a perfect package due to your needs, visit Eldernode and purchase your own Windows VPS.

Tutorial Install CMake On Windows Server

Recommended Article: How to Roll Back a Driver in Windows

CMake on Windows

CMake manages the build process in an Operating System and in a compiler-independent manner. If you build Cmake from the source tree on Windows, you should install the latest binary version of CMake firstly. When you install it, run the binary on CMake. In other words, when you select CMake as the Source directory, then you select a binary directory for the resulting executables.

CMake installation on Windows Server step by step.

Step 1:

On the CMake download page, pre-compiled binaries are available for Windows as MSI packages and ZIP files. As always, you are recommended to download binaries or source code archives for the latest stable or previous release or access the current development distribution through Git. So, open CMake’s official website and click on the download tab.

Download CMake

 

Step 2:

Then, download the file according to your related platform. Once the cmake-*.exe installer is downloaded, run it and click Next.

Welcome to CMake

 

Step 3:

To accept the terms of the License agreement, click on I agree.

License agreement

 

Step 4:

At this point, you are asked to choose between Install Options. Check them if you want to have CMake in PATH. Also, check Create CMake Desktop Icon to create the icon on the desktop.

install option

 

Note: As shown in the above images, if you set ”Add CMake to the system PATH for all users checkbox then CMake can be access via terminal.

Step 5:

Next, you need to choose the installation path. If you want to have several versions installed simultaneously, add suffix with the version.

Install location

 

Step 6:

And, if you wish to have a shortcut of the program in the Start Menu folder:

Start Menu Folder

 

Step 7:

In this way, the installation would be started.

CMake installation process

 

Step 8:

By clicking on Finish, CMake will be install on your computer.

Finish the installation

 

Step 9:

The Desktop icon should have been created now.

Desktop icon

 

Recommended Article: How to Install React JS on Windows

If in step 4, you did not choose ”Add CMake to the system PATH for all users” you need to add …\bin to PATH environment variable:

> where cmake  C:\soft\develop\cmake\3.4.1\bin\cmake.exe
> where cmake-gui  C:\soft\develop\cmake\3.4.1\bin\cmake-gui.exe
> cmake --version  cmake version 3.4.1
CMake suite maintained and supported by Kitware (kitware.com/cmake).

 

Conclusion

In this article, you learned How To Install CMake On Windows Server. You can install CMake to use its brilliant features. Stay tuned for more CMake tutorials.

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

View More Posts
Marilyn Bisson
Content Writer
Eldernode Writer
We Are Waiting for your valuable comments and you can be sure that it will be answered in the shortest possible time.

Leave a Reply

Your email address will not be published. Required fields are marked *

We are by your side every step of the way

Think about developing your online business; We will protect it compassionately

We are by your side every step of the way

+8595670151

7 days a week, 24 hours a day