Skip to content

feelamee/lesta-course

Repository files navigation

lesta-course

build dependencies
  • git
  • cmake
  • mingw-cmake (for Windows)
installing build dependencies
Archlinux
sudo pacman -S git cmake mingw-w64-gcc
paru -S mingw-w64-cmake (or build it by yourself)
paru -S android-studio
Ubuntu

install android-studio

apt install git cmake mingw-w64
build homework, nano, tests
git clone https://github.com/hiebyshek/lesta-course
cd lesta-course
mkdir build && cd build
cmake .. -DBUILD_ALL=ON
cmake --build . -j4
build Tetris for Linux
git clone https://github.com/hiebyshek/lesta-course
cd lesta-course/tetris
mkdir build && cd build
cmake ..
cmake --build . -j4
build Tetris for Windows
git clone https://github.com/hiebyshek/lesta-course
cd lesta-course/tetris
mkdir build/ && cd build/
x86_64-w64-mingw32-cmake ..
cmake --build . -j4
run Tetris Windows build using wine
WINEPATH="/usr/x86_64-w64-mingw32/bin/;`pwd`/nano/lib/SDL;`pwd`/nano/lib/SDL_image;`pwd`/nano" ./tetris.exe
build Tetris for Android
git clone https://github.com/hiebyshek/lesta-course
cd lesta-course/tetris/android-project
echo "sdk.dir=$HOME/Android/Sdk" > local.properties
android-studio ./

Build project (Ctrl + F9)
Replace $HOME/Android/Sdk with your android sdk dir if need

Linux, Windows, Android builds here
Play and Chill on Android here

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors