Remake with OpenGL.
Take Ubuntu
as example:
- step 1:
- run
sudo apt install curl libfreetype-dev libglfw3-dev libglew-dev libglm-dev libstb-dev
to install the dependence.
- run
- step 2:
- check scripts/build.sh and run it.
- This will automatically download
irrKlang
and put it in a proper position. Then it callCMake
and build the program.
- step 1:
- run
vcpkg install glfw3 glm glew freetype stb
.
- run
- step 2:
- check scripts/build.cmd and run it.
- use command like this to generate a
Visual Studio
Solution: cmake .. -G"Visual Studio 17 2022" -A=Win32 -DCMAKE_TOOLCHAIN_FILE=${your_vcpkg_root}/scripts/buildsystems/vcpkg.cmake