About the Kotaro_alpha build
Share
- Windows
Install Visual Studio. vcpkg and cmake will be installed by default.
Check the installation location using PowerShell.
PS > gcm vcpkg | fl
Ps > gem cmake | fl
If you want to use a separate toolchain file, prepare CMakePrisets.json and set it in cacheVariables. We will proceed assuming that you are using the vcpkg that was installed by default with Visual Studio. Setting the toolchain in CMakePrisets.json will not change the subsequent operations.
In the project root folder (the top directory containing CMakeLists.txt), enter the following command to configure vcpkg.
PS > vcpkg new --application
PS > vcpkg add port boost-uuid boost-lexical-cast sdl2 sdl2-image sdl2-ttf
Do the cmake configure phase in visual studio.
Project > Configure Cache
Once the cmake configuration is complete, build it.
Build > Build All
Check the operation of the built components. Enter the following command in the project root directory to launch the project executable file. Use the email address and password you posted when you downloaded Kotaro_alpha to launch the project executable file.
PS > cd out/build/src
PS > ./KotaroTest.exe your-email your-password
- MacOS
> brew install cpprestsdk boost sdl2 sdl2_image sdl2_ttf cmake
> tar -zvxf Kotaro-*.tar.gz
> cd Kotaro-*
> mkdir build
> cd build
> cmake -S .. -B .
> cd src
> ./KotaroTest
brew install cpprestsdk boost sdl2 sdl2-image sdl2-ttf
- Linux
> apt-get install -y libcpprest-dev libboost-dev libsdl2-dev libsdl2_image-dev libsdl2_ttf-dev
> tar -zvxf Kotaro-*.tar.gz
> cd Kotaro-*
> mkdir build
> cd build
> cmake -S .. -B .
> cd src
> ./KotaroTest