Topic: Creating sln Project with CMake
I am trying to create an Sln file using CMake.
I host a Diablo II v1.09 Server so I am using PvPGN 1.8.5 Pack with the d2pack109.
First of all I am creating a PvPGN-Source folder and I am extracting PvPGN 1.8.5 to this folder. I am then copy and pasting the contents of the d2pack109 and replacing the files within the source folder.
I am then launching CMake GUI and selecting the PvPGN-Source folder and I am building to the same folder.
Under configure I am selecting Visual Studio 2017 as this is what I have installed.
When hitting the generate button I receive the following screen:
This generates the .sln however when I open the project and navigate to d2ladder.cpp I receive 955 Errors.
This is replicated for every file that I select.
Could anybody assist in pointing out where I am going wrong please?