-
Notifications
You must be signed in to change notification settings - Fork 1
Building
The build process for Pilot Light is simple and will stay that way. We do not use a build system. You can use whatever editor or IDE you want. We prefer to use Visual Studio Code which in our opinion provides the most uniform experience across multiple platforms.
If you are using Visual Studio Code, run python scripts/setup.py
from terminal to generate the .vscode folder we use and continue to the appropriate operating system section below.
Note
The instructions below use the build scripts checked into the repo. They can be generated by running python3 gen_build.py
in the scripts folder.
- python 3
- git
- Vulkan SDK
-
Visual Studio 2019 or greater (just for the toolchain) with the following workflows:
- Desktop development with C++
- Game development with C++
From within a local directory, enter the following commands in your terminal:
git clone https://github.com/PilotLightTech/pilotlight
cd pilotlight/scripts
python download_assets.py
cd ../src
build_win32.bat
Binaries will be in pilotlight/out/.
- git
- Vulkan SDK
- X11 & XCB (
sudo apt install libx11-dev libx11-xcb-dev libxkbcommon-x11-dev libxcb-cursor-dev libxcb-xfixes0-dev libxcb-keysyms1-dev
)
From within a local directory, enter the following commands in your terminal:
git clone https://github.com/PilotLightTech/pilotlight
cd pilotlight/scripts
python3 download_assets.py
cd ../src
chmod +x build_linux.sh
./build_linux.sh
Binaries will be in pilotlight/out/.
- git
- Vulkan SDK
- Xcode
From within a local directory, enter the following commands in your terminal:
git clone https://github.com/PilotLightTech/pilotlight
cd pilotlight/scripts
python3 download_assets.py
cd ../src
chmod +x build_macos.sh
./build_macos.sh
Binaries will be in pilotlight/out/.