Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/inanevin/LinaGX
Browse files Browse the repository at this point in the history
  • Loading branch information
inanevin committed Nov 19, 2023
2 parents c980ec4 + 2565095 commit a13a4f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,13 +170,13 @@ Download a release from [Releases](https://github.com/inanevin/LinaGX/releases).
Recommended way of using LinaGX is to link it using CMake within your application. If you'd like to pre-complie yourself, you can still do so via CMake, but you also have to pre-compile the dependency libraries, such as SPIRV-Cross and glslang.
CMake project offers only a single option, and it is to enable building of examples which are disabled by default. Use ```LINAGX_BUILD_EXAMPLES``` option.
Example projects are disabled by default. Use ```LINAGX_BUILD_EXAMPLES``` option to enable them during CMake generation.
```shell
cmake DLINAGX_BUILD_EXAMPLES=ON
```

Or tick it on if you are using CMake GUI.
By default, LinaGX builds for both Vulkan and DX12 on Windows for runtime switching between graphics APIs. If this is not required for your use case, you can use ```LINAGX_DISABLE_VK``` or ```LINAGX_DISABLE_DX12``` to disable one of the graphics backends. Using both options will fail CMake project generation.

# [License (BSD 2-clause)](http://opensource.org/licenses/BSD-2-Clause)

Expand Down

0 comments on commit a13a4f9

Please sign in to comment.