This README file is available in multiple languages:
To build LunarYue, you need to first install the following tools:
- Visual Studio 2019 (or later versions)
- CMake 3.19 (or later versions)
- Git 2.1 (or later versions)
CMake Installation Guide
Windows:
-
Visit the CMake official website (https://cmake.org/download/) and download the installer for Windows.
-
Run the downloaded installer and install CMake. During the installation, select the "Add CMake to the system PATH for all users" option to add CMake to the system PATH.
-
After the installation is complete, open the command prompt and run the 'cmake --version' command to check if CMake has been correctly installed. After running this command, the version information of CMake will be displayed.
Linux:
-
Open the terminal and run the following command to install CMake:
sudo apt-get update sudo apt-get install cmake
-
After the installation is complete, run the 'cmake --version' command to check if CMake has been correctly installed. After running this command, the version information of CMake will be displayed.
You can run the build_windows.bat. This batch file will automatically generate the project and build the Release configuration of LunarYue Engine. Upon successful build, the build/bin directory will contain the executable LunarYueEditor.
Alternatively, you can use the following command in the root directory of the project to generate the project in the build folder:
cmake -B build
Compile the project with Release. If you want to debug the project, use Debug:
cmake --build build --config Release
bgfx (Rendering)
cereal (Serialization)
rttr (Runtime Type Reflection)
spdlog (Logging)
imgui (Gui)
assimp (3D Model Import)
glm (Math Library)
openal-soft (3D Audio)