mirror of
https://github.com/JoeyDeVries/LearnOpenGL.git
synced 2026-01-30 20:13:22 +08:00
Merge pull request #329 from ButchDean/master
An even simpler way to build on Mac.
This commit is contained in:
@@ -25,13 +25,11 @@ Using [this project](https://github.com/01e9/docker-ide) you can start IDE in do
|
|||||||
```
|
```
|
||||||
|
|
||||||
## Mac OS X building
|
## Mac OS X building
|
||||||
Building on Mac OS X is fairly simple (thanks [@hyperknot](https://github.com/hyperknot)):
|
Building on Mac OS X is fairly simple:
|
||||||
```
|
```
|
||||||
brew install cmake assimp glm glfw freetype
|
brew install cmake assimp glm glfw freetype
|
||||||
mkdir build
|
cmake -S . -B build
|
||||||
cd build
|
cmake --build build -j$(sysctl -n hw.logicalcpu)
|
||||||
cmake ../.
|
|
||||||
make -j8
|
|
||||||
```
|
```
|
||||||
## Create Xcode project on Mac platform
|
## Create Xcode project on Mac platform
|
||||||
Thanks [@caochao](https://github.com/caochao):
|
Thanks [@caochao](https://github.com/caochao):
|
||||||
|
|||||||
Reference in New Issue
Block a user