Skip to content

Commit 0326a98

Browse files
Merge pull request #1217 from rainergericke/master
Update INSTALL.md for macOS
2 parents 9521dce + d3f7299 commit 0326a98

1 file changed

Lines changed: 17 additions & 5 deletions

File tree

INSTALL.md

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,15 +92,27 @@ More detailed Android platform instructions can be found [below](#detailed-instr
9292

9393
---
9494

95-
## Quick build instructions for macOS using Xcode 9
95+
## Quick build instructions for macOS using standard Makefiles
9696

97-
Command line instructions for default build of static library (.lib) in source:
97+
On the Mac you must install Xcode from the Apple App Store. It contains C++-17 as well
98+
as tools like make and git. Don't use Xcode directly for building
99+
VSG, since the new code signing settings mess up all executables and
100+
shared libraries.
101+
102+
Command line instructions for default build of static library (.a) in source:
103+
Be sure to have the required software packages installed (see Linux). Get the
104+
Vulkan SDK from https://vulkan.lunarg.com. You also need glslang. The easiest way
105+
to get it is installation via the **homebrew** package manager (https://brew.sh).
106+
After installation of **homebrew** call:
107+
108+
brew cmake
109+
brew glslang
110+
brew clang-format
98111

99112
git clone https://github.com/vsg-dev/VulkanSceneGraph.git
100113
cd VulkanSceneGraph
101-
cmake . -G "Xcode"
102-
103-
After running cmake open the generated VSG.xcodeproj file and build the All target. Once built you can run the install target. Please note that for release builds you currently need to use the Archive option in xcode. This will rebuild every time so you can just select the install target and run Archive which will also build the All target.
114+
cmake .
115+
cmake --build . -j 8
104116

105117
---
106118

0 commit comments

Comments
 (0)