Vice City: Multiplayer

VC:MP Discussion => Support => Tutorials => Topic started by: habi on May 22, 2022, 04:41 AM

Title: [Tutorial-general-programming]Building a program from CMakelists.txt
Post by: habi on May 22, 2022, 04:41 AM
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 (https://cmake.org/download/) Under Binary Distribution )
2. You need to install Visual Studio( It is called "Visual Studio Community". here (https://visualstudio.microsoft.com/) )

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"