Build Pipeline
Last Updated Time: 10/11/2023
Overview
The build pipeline consists of four stages: Compile, Cook, Package and Run.
- Compile: This stage compiles the source code into executable code for different platforms.
- Cook: This stage converts resources from an Engine-specific format to a platform-specific format.
- Package: This stage packages the project into the platform's native publish format.
- Run: This stage is to start the project after the packaging is completed.
Currently, there are two packaging methods (Packaging includes all steps of the build here): Editor Packaging and Command Line Packaging.
Packaging
Currently, there are two packaging methods: Editor Packaging and Command Line Packaging.
Editor Packaging
Click Build (Menu Bar) -> Package Project (Client) or Build (Menu Bar) -> Package Project (Server) to select the corresponding platform for packaging.
Command Line Packaging
It can be packaged by the following commands with PublishCommand representing Client while PublishServerCommand representing Server.
@echo off
start /wait %~dp0\..\..\00_flexi_engine\bin\windows\release_md_vs2015x64\fx_main.exe game_framework_editor.ini Project="%~dp0\test_project.projectinfo" RenderAPI=Null Run=CompileCommand DisableAssetRegistry DoNotLoadProjectDLL
start /wait %~dp0\..\..\00_flexi_engine\bin\windows\release_md_vs2015x64\fx_main.exe game_framework_editor.ini Project="%~dp0\test_project.projectinfo" RenderAPI=Null Run=PublishCommand