Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/miou-zora/xmake-opengl
Minimal repository template for project using xmake and opengl
https://github.com/miou-zora/xmake-opengl
gl3w glfw glm hello-world kmu opengl xmake
Last synced: about 1 month ago
JSON representation
Minimal repository template for project using xmake and opengl
- Host: GitHub
- URL: https://github.com/miou-zora/xmake-opengl
- Owner: Miou-zora
- License: mit
- Created: 2024-11-06T05:13:40.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-11-06T06:20:59.000Z (3 months ago)
- Last Synced: 2024-11-13T17:34:45.159Z (3 months ago)
- Topics: gl3w, glfw, glm, hello-world, kmu, opengl, xmake
- Language: C++
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Xmake-OpenGl
Minimal repository template for project using [xmake](https://xmake.io/#/), [opengl](https://www.opengl.org/) and [gl3w](https://github.com/skaslev/gl3w)## 📑 Requirements
### 🔧 Dependencies
- [xmake](https://xmake.io/#/)
- Maybe [Vcpkg](https://vcpkg.io/en/) (I don't know if xmake automatically install vcpkg)## ⚡ Usage
### 🔧 Setup
Start by cloning this repository
```sh
git clone https://github.com/Miou-zora/Xmake-OpenGl.git
cd Xmake-OpenGl
```### 👷 Building
#### Release
```sh
xmake f -m release
xmake build -y
```#### Debug
```sh
xmake f -m debug
xmake build -y
```### 🚀 Running
```sh
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
> ```