How to install pugixml 1.15 using CMake and Visual Studio 2022 for Desktop
        
            - Install Visual Studio 2022 Community and CMake using this guide: Installation of Visual Studio 2022 Community with CMake support
 
            - Type in the browser search field: pugixml github
 
            - You will find this page: https://github.com/zeux/pugixml
 
            - Scroll down and click on the latest release on the right panel:
 
            
            - Click on the "pugixml-1.15.zip" to download the archive:
 
            
            - Move this archive somewhere to unzip, for example, to "E:\libs", and "Extract Here"
 
            - Open CMD in this folder: "E:\libs\pugixml-1.15"
 
            - Note. You can click in the file path 
 
            - Type cmake-gui in CMD:
 
            
            - And press "Enter". CMake GUI will be opened:
 
            
            - Copy this path "E:/libs/pugixml-1.15" in the "Where is the source code" field:
 
            
            - Paste this path in the "Where to build the binaries" field and add the "/dist" to the path like this:
 
            
            - Click on the "Configure" button:
 
            
            - Click "Yes" to confirm that you want to create the "dist" folder:
 
            
            - The "Visual Studio 17 2022" should be selected:
 
            
            - Note. Such options are available:
 
            
            - Click the "Finish" button:
 
            
            - Configuration should be finieshed without errors:
 
            
            - Note. Configuration output:
 
Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.19045.
The CXX compiler identification is MSVC 19.42.34436.0
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.42.34433/bin/Hostx64/x64/cl.exe - skipped
Detecting CXX compile features
Detecting CXX compile features - done
Configuring done (8.4s)
            Type "Debug" in the "CMAKE_CONFIGURATION_TYPES" field:
            
            Set a path in the "CMAKE_INSTALL_PREFIX" field:
            
            Note. CMAKE_INSTALL_PREFIX contains a path where Box2D will be installed
            Click buttons: "Configure", "Generate", and "Open Project":
            
            Visual Studio 2022 will be opened. Click "Build" > "Build Solution" or F7:
            
            Wait for finishing of building
            Note. Building output:
Build started at 1:11 AM...
1>------ Build started: Project: ZERO_CHECK, Configuration: Debug x64 ------
2>------ Build started: Project: pugixml-static, Configuration: Debug x64 ------
2>pugixml-static.vcxproj -> E:\libs\pugixml-1.15\dist\Debug\pugixml.lib
3>------ Build started: Project: ALL_BUILD, Configuration: Debug x64 ------
4>------ Skipped Build: Project: INSTALL, Configuration: Debug x64 ------
4>Project not selected to build for this solution configuration 
========== Build: 3 succeeded, 0 failed, 0 up-to-date, 1 skipped ==========
========== Build completed at 1:11 AM and took 03.902 seconds ==========
            Open CMD inside this folder: "E:\libs\pugixml-1.15"
            Type the installation command in CMD:
cmake --install dist
            The pugixml files will be copied to the installation folder
            Note. Output:
E:\libs\pugixml-1.15>cmake --install dist
-- Install configuration: "Debug"
-- Installing: E:/libs/pugixml-1.15-msvc/win/debug/lib/pugixml.lib
-- Installing: E:/libs/pugixml-1.15-msvc/win/debug/lib/cmake/pugixml/pugixml-targets.cmake
-- Installing: E:/libs/pugixml-1.15-msvc/win/debug/lib/cmake/pugixml/pugixml-targets-debug.cmake
-- Installing: E:/libs/pugixml-1.15-msvc/win/debug/lib/cmake/pugixml/pugixml-config-version.cmake
-- Installing: E:/libs/pugixml-1.15-msvc/win/debug/lib/cmake/pugixml/pugixml-config.cmake
-- Installing: E:/libs/pugixml-1.15-msvc/win/debug/lib/pkgconfig/pugixml.pc
-- Installing: E:/libs/pugixml-1.15-msvc/win/debug/include/pugiconfig.hpp
-- Installing: E:/libs/pugixml-1.15-msvc/win/debug/include/pugixml.hpp
            Do not close CMake GUI and VS to build and install the "Release" version
        
        Installation of the "Release" version
        
            - Type Release for the "CMAKE_CONFIGURATION_TYPES" variable:
 
            
            - Set a path for the "CMAKE_INSTALL_PREFIX" variable to the "release" folder:
 
            
            - Click on the "Configure and "Generate" buttons:
 
            
            - Note. Configuration output:
 
Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.19045.
Configuring done (0.1s)
Generating done (0.1s)
            Switch to the VS window using Alt+Tab or by click on the VS in the task bar
            VS asks you to reload:
            
            Note. You see that Debug was changed to Release in the tool bar:
            
            Click "Build" > "Build Solution" or F7:
            
            Wait for finishing of building
            Note. Output:
Build started at 1:19 AM...
1>------ Build started: Project: ZERO_CHECK, Configuration: Release x64 ------
1>1>Checking Build System
2>------ Build started: Project: pugixml-static, Configuration: Release x64 ------
2>Building Custom Rule E:/libs/pugixml-1.15/CMakeLists.txt
2>pugixml.cpp
2>pugixml-static.vcxproj -> E:\libs\pugixml-1.15\dist\Release\pugixml.lib
3>------ Build started: Project: ALL_BUILD, Configuration: Release x64 ------
3>Building Custom Rule E:/libs/pugixml-1.15/CMakeLists.txt
4>------ Skipped Build: Project: INSTALL, Configuration: Release x64 ------
4>Project not selected to build for this solution configuration 
========== Build: 3 succeeded, 0 failed, 0 up-to-date, 1 skipped ==========
========== Build completed at 1:19 AM and took 07.466 seconds ==========
            Open CMD inside of the box2d-2.4.2 source folder
            Type the installation command in CMD:
cmake --install dist
            The pugixml files will be copied to the installation folder
            Note. Output:
E:\libs\pugixml-1.15>cmake --install dist
-- Install configuration: "Release"
-- Installing: E:/libs/pugixml-1.15-msvc/win/release/lib/pugixml.lib
-- Installing: E:/libs/pugixml-1.15-msvc/win/release/lib/cmake/pugixml/pugixml-targets.cmake
-- Installing: E:/libs/pugixml-1.15-msvc/win/release/lib/cmake/pugixml/pugixml-targets-release.cmake
-- Installing: E:/libs/pugixml-1.15-msvc/win/release/lib/cmake/pugixml/pugixml-config-version.cmake
-- Installing: E:/libs/pugixml-1.15-msvc/win/release/lib/cmake/pugixml/pugixml-config.cmake
-- Installing: E:/libs/pugixml-1.15-msvc/win/release/lib/pkgconfig/pugixml.pc
-- Installing: E:/libs/pugixml-1.15-msvc/win/release/include/pugiconfig.hpp
-- Installing: E:/libs/pugixml-1.15-msvc/win/release/include/pugixml.hpp
            Next guide: Setting up pugixml 1.15 in Visual Studio 2022 using CMake