TerreateCore
is a basic OpenGL
handler for C++
. This framework is using glfw
and glad
for handling OpenGL
. You can get more information about OpenGL
in glfw
homepage The license is BSD3(BSD 3-Clause "New" or "Revised" License). cmake
is needed to build this project, so you have to install cmake
before building this project.
TerreateCore
supports Windows
and Linux
.
You can use TerreateCore
by following the steps below.
Be sure to install cmake
before building this project.
If you doesn't setup your cmake, you should do it before building this project with cmake. Please follow the instructions below. ( If you already do this, you can go to next step! )
- Install
Visual Studio Code (VSCode)
andVisual Studio
. - Open this repositry folder with
VSCode
. - Open
Command Palette
withCtrl+Shift+P
. - Find
CMake: Quick start
command and run it. ( You can find it with enteringCMake
to the text box. ) - Select
Visual Studio Community 20XX Release ~~
.
Now, you can go to next step!
Build with following command.
# pwd => .../TerreateCore/
cmake -S . -B build
cmake --build build
TerreateCore.lib
is generated in build/lib/Debug/TerreateCore.lib
.
You can run test with following command.
# pwd => .../TerreateCore/
./build/bin/Debug/TCTest.exe
execute in different folder is NOT supported. It will cause Failed to load XXX
error.\
Build with following command.
# pwd => .../TerreateCore/
cmake -S . -B build
cmake --build build
libTerreateCore.a
is generated in build/lib/libTerreateCore.a
.
You can run test with following command.
# pwd => .../TerreateCore/
./build/bin/TCTest
execute in different folder is NOT supported. It will cause Failed to load XXX
error.\
If you have any questions, please contact me by email.
- Email: [ [email protected] ]