-
Notifications
You must be signed in to change notification settings - Fork 212
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed out of date VulkanSDK download and unpack instructions
- Loading branch information
1 parent
422c7a9
commit 2ec6fb7
Showing
2 changed files
with
7 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,10 +28,10 @@ | |
|
||
### Installing dependencies | ||
|
||
* Ubuntu: | ||
`sudo apt-get install cmake-curses-gui g++ git libvulkan-dev` | ||
* Ubuntu: | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
robertosfield
Author
Collaborator
|
||
`sudo apt-get install cmake-curses-gui g++ git libvulkan-dev glslang-dev glslang-tools | ||
|
||
* Gentoo: | ||
* Gentoo: | ||
`emerge dev-util/vulkan-tools` | ||
|
||
### Build | ||
|
@@ -207,7 +207,7 @@ For example, a bare minimum CMakeLists.txt file adding the mentioned cmake targe | |
|
||
### Using VSG provided cmake macro to generate cmake support files | ||
|
||
Projects that install a library must generate some cmake-related files so that the library can be found by ```find_package()```. To simplify the generation of these files, the cmake macro ```vsg_add_cmake_support_files()``` has been added. | ||
Projects that install a library must generate some cmake-related files so that the library can be found by ```find_package()```. To simplify the generation of these files, the cmake macro ```vsg_add_cmake_support_files()``` has been added. | ||
|
||
In addition to calling the macro, it requires a template for creating the xxxConfig.cmake file, as given in the following example: | ||
|
||
|
@@ -323,7 +323,7 @@ So now we're ready to build VSG. With the SDK installed this is very similar to | |
git clone https://github.com/vsg-dev/VulkanSceneGraph.git | ||
cd VulkanSceneGraph | ||
cmake . -G "Xcode" | ||
|
||
Once CMake has finished you can open the generated Xcode project and build the 'install' target. This will build VSG and install the headers and generated library onto your machine. | ||
|
||
Again, as with other platforms it's useful to now set your CMAKE_PREFIX_PATH to point to the VSG library we have just installed. If you've installed to the default location you can add the following to your .bash_profile file. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
It's possibly worth specifying that this is for Ubuntu 24.04 and later, as earlier versions don't have new enough glslang-dev