remove nix
This commit is contained in:
parent
273a03b99b
commit
81f252dd96
4 changed files with 22 additions and 35 deletions
21
README.md
21
README.md
|
|
@ -1,13 +1,14 @@
|
||||||
I'm messing around with GLFW to build an OpenGL app in wayland, theoretically this is the starting point for a game engine.
|
Me code, me make game engine!
|
||||||
|
|
||||||
### Setup
|
## Dependencies
|
||||||
|
|
||||||
```shell
|
Arch:
|
||||||
meson setup build
|
|
||||||
```
|
|
||||||
|
|
||||||
### Build
|
- `clang`
|
||||||
|
- `make`
|
||||||
```shell
|
- `meson`
|
||||||
meson compile -C build
|
- `ninja`
|
||||||
```
|
- `libgl`
|
||||||
|
- `glfw` _XDG_SESSION_TYPE=wayland_
|
||||||
|
- `fmt`
|
||||||
|
- `pkgconf`
|
||||||
|
|
|
||||||
3
mise.toml
Normal file
3
mise.toml
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
[tools]
|
||||||
|
meson = "1.8.2"
|
||||||
|
ninja = "1.13.0"
|
||||||
8
package.json
Normal file
8
package.json
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
{
|
||||||
|
"name": "game-engine",
|
||||||
|
"scripts": {
|
||||||
|
"setup": "meson setup build",
|
||||||
|
"build": "meson compile -C build",
|
||||||
|
"run": "./build/main"
|
||||||
|
}
|
||||||
|
}
|
||||||
25
shell.nix
25
shell.nix
|
|
@ -1,25 +0,0 @@
|
||||||
{
|
|
||||||
pkgs ? import <nixpkgs> { },
|
|
||||||
}:
|
|
||||||
pkgs.llvmPackages.stdenv.mkDerivation {
|
|
||||||
|
|
||||||
name = "Development";
|
|
||||||
buildInputs = with pkgs.buildPackages; [
|
|
||||||
clang
|
|
||||||
fmt
|
|
||||||
fmt.dev
|
|
||||||
glfw-wayland
|
|
||||||
libGL
|
|
||||||
libGL.dev
|
|
||||||
];
|
|
||||||
# nativeBuildInputs is usually what you want -- tools you need to run
|
|
||||||
nativeBuildInputs = with pkgs.buildPackages; [
|
|
||||||
meson
|
|
||||||
ninja
|
|
||||||
gnumake
|
|
||||||
clang-tools
|
|
||||||
pkg-config
|
|
||||||
];
|
|
||||||
|
|
||||||
shellHook = '''';
|
|
||||||
}
|
|
||||||
Loading…
Add table
Reference in a new issue