# Pilot **Repository Path**: Jaqucline/Pilot ## Basic Information - **Project Name**: Pilot - **Description**: No description available - **Primary Language**: C++ - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-04-05 - **Last Updated**: 2022-04-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Pilot Engine

Pilot Engine logo

**Pilot Engine** is a tiny game engine used for the [GAMES104](https://games104.boomingtech.com) course. ## Continuous build status Build Type | Status :-: | :-: **Build Linux** | [![Build Linux](https://github.com/BoomingTech/Pilot/actions/workflows/build_linux.yml/badge.svg)](https://github.com/BoomingTech/Pilot/actions/workflows/build_linux.yml) **Build macOS** | [![Build macOS](https://github.com/BoomingTech/Pilot/actions/workflows/build_macos.yml/badge.svg)](https://github.com/BoomingTech/Pilot/actions/workflows/build_macos.yml) ## Prerequisites To build Pilot, you must first install the following tools. ### Windows 10/11 - Visual Studio 2019 (or more recent) - CMake 3.19 (or more recent) - Git 2.1 (or more recent) ### macOS >= 10.15 (x86_64) - Xcode 12.3 (or more recent) - CMake 3.19 (or more recent) - Git 2.1 (or more recent) ### Ubuntu 20.04 - apt install the following packages ``` sudo apt install libxrandr-dev sudo apt install libxrender-dev sudo apt install libxinerama-dev sudo apt install libxcursor-dev sudo apt install libxi-dev sudo apt install libglvnd-dev sudo apt install libvulkan-dev sudo apt install cmake sudo apt install clang sudo apt install libc++-dev sudo apt install libglew-dev sudo apt install libglfw3-dev sudo apt install libtbb-dev sudo apt install vulkan-validationlayers sudo apt install mesa-vulkan-drivers ``` - [NVIDIA driver](https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#runfile) (The AMD and Intel driver is open-source, and thus is installed automatically by mesa-vulkan-drivers) ## Build Pilot ### Build on Windows You may execute the **build_windows.bat**. This batch file will generate the projects, and build the **Release** config of **Pilot Engine** automatically. After successful build, you can find the PilotEditor.exe at the **bin** directory. Or you can use the following command to generate the **Visual Studio** project firstly, then open the solution in the build directory and build it manually. ``` cmake -S . -B build ``` ### Build on macOS > The following build instructions only tested on specific hardware of x86_64, and do not support M1 chips. For M1 compatible, we will release later. To compile Pilot, you must have the most recent version of Xcode installed. Then run 'cmake' from the project's root directory, to generate a project of Xcode. ``` cmake -S . -B build -G "Xcode" ``` and you can build the project with ``` cmake --build build --config Release ``` Or you can execute the **build_macos.sh** to build the binaries. ### Build on Ubuntu 20.04 You can execute the **build_linux.sh** to build the binaries.