Home

Awesome

hello-skylicht

This is an example project for integrating Skylicht Engine into another project.

Build status

How build

Step 1

First, You need to clone and build Skylicht Engine .

C:\>git clone https://github.com/skylicht-lab/skylicht-engine.git

And build the engine

C:\skylicht-engine>cmake -S . -B ./PrjVisualStudio -G "Visual Studio 17 2022" -A x64 -DINSTALL_LIBS=ON
C:\skylicht-engine>cmake --build ./PrjVisualStudio --target install --config Release

Step 2

Clone this project

C:\>git clone https://github.com/skylicht-lab/hello-skylicht.git

Copy 2 folders (cmake and include) from folder build result C:\skylicht-engine\InstallLibs to this project

C:\hello-skylicht>md InstallLibs
C:\hello-skylicht>md InstallLibs\cmake
C:\hello-skylicht>md InstallLibs\include
C:\hello-skylicht>xcopy C:\skylicht-engine\InstallLibs\cmake InstallLibs\cmake /E
C:\hello-skylicht>xcopy C:\skylicht-engine\InstallLibs\include InstallLibs\include /E

Step 3

Build project

C:\hello-skylicht>cmake -S . -B ./PrjVisualStudio -G "Visual Studio 17 2022" -A x64
C:\hello-skylicht>cmake --build ./PrjVisualStudio --config Release

You can see the Github workflow for more details Thanks you!