File tree 1 file changed +6
-12
lines changed
1 file changed +6
-12
lines changed Original file line number Diff line number Diff line change 3
3
This repository can be used as a starter template for [ learnopengl.com] ( https://learnopengl.com/ ) .
4
4
5
5
## Requirements
6
-
6
+ - [ GLFW dependencies ] ( https://www.glfw.org/docs/3.3/compile.html#compile_deps )
7
7
- [ CMake] ( https://cmake.org/ ) (preferably latest version)
8
- - [ clangd] ( https://clangd.llvm.org/installation #editor-plugins ) editor plugin
9
- - [ clang] ( https://clang.llvm.org/ ) or [ gcc] ( https://gcc.gnu.org/ ) (update compiler in [ .clangd ] ( .clangd ) )
8
+ - [ clangd] ( https://clangd.llvm.org/insAtallation #editor-plugins ) editor plugin (optional)
9
+ - [ clang] ( https://clang.llvm.org/ ) or [ gcc] ( https://gcc.gnu.org/ )
10
10
11
11
## How to build
12
12
13
- 1 . Create build directory.
14
-
15
- ``` bash
16
- $ mkdir build
17
- ```
18
-
19
- 2 . Initialize cmake.
13
+ 1 . Initialize cmake.
20
14
21
15
``` bash
22
16
$ cmake -S . -B build
23
17
```
24
18
25
- 3 . Build your target, for example ` hellowindow ` .
19
+ 2 . Build target, for example ` hellowindow ` .
26
20
27
21
``` bash
28
- $ cmake --build build --target hellowindow
22
+ $ cmake --build build --target hello_window
29
23
```
30
24
31
25
## License
You can’t perform that action at this time.
0 commit comments