Although when we looked at IDE projects generated by CMake we still used the
command line. You can also use the CMake GUI to generate and configure
projects. This can be convenient if you don’t like the command line, however
it can be even more useful than that.
CMake stores a lot of configuration settings …
Continue reading "CMake Tutorial – Chapter 3: GUI Tool"
Now that we are familiar with CMake I will make good on CMake’s promise of
flexibility. I said before that CMake could create projects for various
IDE’s and in this chapter we will do so. This is one of CMake’s greatest
strengths as it allows for very diverse development environments while
working on the same …
Continue reading "CMake Tutorial – Chapter 2: IDE Integration"
In this chapter we start by installing CMake. Like most open source software
the best way to do this depends on your platform and how you usually do
things. Once we have CMake installed we create a simple project. Perhaps
it’s a little fancier than “hello world” but not much. We finish up with the
Continue reading "CMake Tutorial – Chapter 1: Getting Started"
What is CMake?
According to CMake’s creators, Kitware, CMake is an open-source cross
platform build system. This is not completely accurate as CMake is not
actually a build system. What CMake provides is an easy way to build C/C++
projects across platforms. The reason I say that CMake isn’t a build system
is because it …
Continue reading "CMake Tutorial"