CPPTemplates / MedievalSurvival

minecraft in 2d!
1 stars 0 forks source link

MedievalSurvival

CMake on multiple platforms

we use this template: https://github.com/lutrarutra/SFML-Project-Template/tree/master

to build for android: we use android studio, also to download the NDK. https://github.com/acsbendi/Build-SFML-For-Android-On-Windows

CAUTION! vcpkg doesn't work with SFML. therefore, you should have MinGW and MSYS installed on your PC when on windows.

to install CMake, Ninja and zlib: make sure to have MSYS2 MINGW64 installed! pacman -S mingw-w64-x86_64-cmake mingw-w64-x86_64-ninja mingw-w64-x86_64-zlib CAUTION! vcpkg doesn't work with SFML. therefore, you should have MinGW and MSYS installed on your PC when on windows.

to install CMake, Ninja and zlib: make sure to have MSYS2 MINGW64 installed! pacman -S mingw-w64-x86_64-cmake mingw-w64-x86_64-ninja mingw-w64-x86_64-zlib change build type to Debug: in settings.json, change "buildType" to "Debug" also, before you click on the launch button, run the 'populate' task. CAUTION! vcpkg doesn't work with SFML. therefore, you should have MinGW and MSYS installed on your PC when on windows.

to install CMake, Ninja and zlib: make sure to have MSYS2 MINGW64 installed! pacman -S mingw-w64-x86_64-cmake mingw-w64-x86_64-ninja mingw-w64-x86_64-zlib

change build type to Debug: in settings.json, change "buildType" to "Debug" also, before you click on the launch button, run the 'populate' task. CAUTION! vcpkg doesn't work with SFML. therefore, you should have MinGW and MSYS installed on your PC when on windows.

to install CMake, Ninja and zlib: make sure to have MSYS2 MINGW64 installed! pacman -S mingw-w64-x86_64-cmake mingw-w64-x86_64-ninja mingw-w64-x86_64-zlib