-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Skip build process for prebuilt libraries
Libraries were built ahead-of-time for the following platforms: - x86_64-pc-windows-msvc - x86_64-unknown-linux-gnu - x86_64-apple-darwin - aarch64-linux-android - armv7-linux-androideabi Libraries are built from source for the following platform(s): - i686-pc-windows-msvc
- Loading branch information
Showing
3 changed files
with
79 additions
and
25 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 |
---|---|---|
@@ -0,0 +1,64 @@ | ||
[target.x86_64-pc-windows-msvc.glslang] | ||
rustc-link-search = ["build/windows"] | ||
rustc-link-lib = [ | ||
"HLSL.glsltospirv", | ||
"OGLCompiler.glsltospirv", | ||
"OSDependent.glsltospirv", | ||
"SPIRV.glsltospirv", | ||
"SPVRemapper.glsltospirv", | ||
"glslang.glsltospirv" | ||
] | ||
|
||
[target.x86_64-unknown-linux-gnu.glslang] | ||
rustc-link-search = ["build/linux"] | ||
rustc-link-lib = [ | ||
"HLSL.glsltospirv", | ||
"OGLCompiler.glsltospirv", | ||
"OSDependent.glsltospirv", | ||
"SPIRV.glsltospirv", | ||
"SPVRemapper.glsltospirv", | ||
"glslang.glsltospirv", | ||
# linux and macOS-specific libraries | ||
"SPIRV-Tools-opt.glsltospirv", | ||
"SPIRV-Tools.glsltospirv" | ||
] | ||
|
||
[target.x86_64-apple-darwin.glslang] | ||
rustc-link-search = ["build/osx"] | ||
rustc-link-lib = [ | ||
"HLSL.glsltospirv", | ||
"OGLCompiler.glsltospirv", | ||
"OSDependent.glsltospirv", | ||
"SPIRV.glsltospirv", | ||
"SPVRemapper.glsltospirv", | ||
"glslang.glsltospirv", | ||
# linux and macOS-specific libraries | ||
"SPIRV-Tools-opt.glsltospirv", | ||
"SPIRV-Tools.glsltospirv" | ||
] | ||
|
||
[target.aarch64-linux-android.glslang] | ||
rustc-link-search = ["build/android-arm64-v8a"] | ||
rustc-link-lib = [ | ||
"HLSL.glsltospirv", | ||
"OGLCompiler.glsltospirv", | ||
"OSDependent.glsltospirv", | ||
"SPIRV.glsltospirv", | ||
"SPVRemapper.glsltospirv", | ||
"glslang.glsltospirv", | ||
# android-specific libraries | ||
"c++_shared" | ||
] | ||
|
||
[target.armv7-linux-androideabi.glslang] | ||
rustc-link-search = ["build/android-armeabi-v7a"] | ||
rustc-link-lib = [ | ||
"HLSL.glsltospirv", | ||
"OGLCompiler.glsltospirv", | ||
"OSDependent.glsltospirv", | ||
"SPIRV.glsltospirv", | ||
"SPVRemapper.glsltospirv", | ||
"glslang.glsltospirv", | ||
# android-specific libraries | ||
"c++_shared" | ||
] |
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 |
---|---|---|
@@ -1,13 +1,14 @@ | ||
[package] | ||
name = "bevy-glsl-to-spirv" | ||
version = "0.2.2" | ||
authors = ["Pierre Krieger <[email protected]>", "The vulkano contributors", "Carter Anderson <[email protected]>", "Nicholas Rishel <[email protected]>"] | ||
authors = ["Pierre Krieger <[email protected]>", "The vulkano contributors", "Carter Anderson <[email protected]>", "Nicholas Rishel <[email protected]>", "Martin Krisnanto Putra <[email protected]>"] | ||
description = "Deprecated. This crate is a temporary measure until native rust shader compilation like https://github.com/gfx-rs/naga lands." | ||
repository = "https://github.com/cart/glsl-to-spirv" | ||
license = "MIT/Apache-2.0" | ||
build = "build/build.rs" | ||
categories = ["rendering::graphics-api"] | ||
edition = "2018" | ||
links = "glslang" | ||
|
||
[build-dependencies] | ||
cmake = "0.1.45" | ||
|
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