[Tutorial-general-programming]Building a program from CMakelists.txt

Started by habi, May 22, 2022, 04:41 AM

Previous topic - Next topic

habi

I am creating this tutorial for those who are stuck at wondering what is this "CMake stuff" is.

You might have seen "CMakeLists.txt" and other lot of files ("build", "out", "ALL_BUILD", "ZERO_CHECK", "Release", "CMakeCache" )

Actually, all these files are automatically creating by running "cmake" from command line

I will show you how.

https://youtu.be/RhgMQ39KWaA

However there are two problems
1. You need to download and install cmake(here Under Binary Distribution )
2. You need to install Visual Studio( It is called "Visual Studio Community". here )

I had installed the second thing more than 2 years ago. But now i code in notepad++ and for compiling cmake uses visual studio compiler which comes with "Visual Studio Community"