Visual Studio needs the Desktop development with C++
workload with the MSVC v142
, Windows 10 SDK
and C++ Clang tools for Windows
components.
# With HTTPS:
git clone --recursive https://github.com/Cheaterman/open.mp-pawn-native-example.git
# With SSH:
git clone --recursive [email protected]:Cheaterman/open.mp-pawn-native-example.git
Note the use of the --recursive
argument, because this repository contains submodules.
cd open.mp-pawn-native-example
mkdir build
cd build
cmake .. -A Win32 -T ClangCL
Open Visual Studio and build the solution.
cd open.mp-pawn-native-example
# Adjust CC/CXX to your clang/clang++ paths
./build.sh