Skip to content

Latest commit

 

History

History
63 lines (45 loc) · 1.11 KB

README.md

File metadata and controls

63 lines (45 loc) · 1.11 KB

Xmake-OpenGl

Minimal repository template for project using xmake, opengl and gl3w

📑 Requirements

🔧 Dependencies

  • xmake
  • Maybe Vcpkg (I don't know if xmake automatically install vcpkg)

Usage

🔧 Setup

Start by cloning this repository

git clone https://github.com/Miou-zora/Xmake-OpenGl.git
cd Xmake-OpenGl

👷 Building

Release

xmake f -m release
xmake build -y

Debug

xmake f -m debug
xmake build -y

🚀 Running

xmake run

✏️ IDE

VS Code

If you're using VS Code (on windows), don't forget to add these paths to includePath:

"path_to_appdata\\Local\\.xmake\\packages\\**",
"path_to_vcpk\\vcpkg\\installed\\x64-windows-static\\**"

Tip

If you don't know the correct path for you, you can run:

xmake l find_package gl3w

or

xrepo info glm
xrepo info glfw