Important
Clone repository via the command "git clone https://github.com/SpaRcle-Studio/SREngine"
Switch to the "dev" (or another one) branch via the command "git checkout branch_name"
Run command "git submodule update --init --recursive" in repository folder
Install dependencies, see below.
Ubuntu Dependencies.
Not yet added. If you can help, please create a pull request.
Arch Linux Dependencies.
cmake git ninja gcc xorg pkgconf gtk3 vulkan-headers vulkan-validation-layers vulkan-tools xcb-util-cursor python python-pip python-numpy
- In the root directory of the project, create a build directory.
- Change the directory to the build directory.
cmake -G "Ninja" ../ -DCMAKE_BUILD_TYPE=Debug
where CMAKE_BUILD_TYPE can be changed to "Release".cmake --build . -j JOBS
where JOBS is the number of your logical processors minus 2.- Run the executable file in
REPOSITORY_ROOT/your_build_dir/Engine/
.
git clone https://github.com/SpaRcle-Studio/SREngine
cd SREngine
git checkout dev
git submodule update --init --recursive
mkdir build
cd build
cmake -G "Ninja" ../ -DCMAKE_BUILD_TYPE=Debug
cmake --build . -j 10
mkdir build && cd build && cmake -G "Ninja" ../ -DCMAKE_BUILD_TYPE=Debug && cmake --build . -j 10