|
|
|
@ -4,7 +4,8 @@ package("shaderwriter") |
|
|
|
|
set_description("Library used to write shaders from C++, and export them in either GLSL, HLSL or SPIR-V.") |
|
|
|
|
|
|
|
|
|
set_urls("https://github.com/DragonJoker/ShaderWriter.git") |
|
|
|
|
add_versions("1.0", "a5ef99ff141693ef28cee0e464500888cabc65ad") |
|
|
|
|
add_versions("0.1", "a5ef99ff141693ef28cee0e464500888cabc65ad") |
|
|
|
|
add_versions("1.0", "7d506b6864edb5f357ed8993512f5a3618a4ddc1") |
|
|
|
|
|
|
|
|
|
add_deps("cmake") |
|
|
|
|
|
|
|
|
@ -20,6 +21,7 @@ package("shaderwriter") |
|
|
|
|
"-DSDW_BUILD_EXPORTER_HLSL_STATIC=".. (package:config("shared") and "OFF" or "ON"), |
|
|
|
|
"-DSDW_BUILD_EXPORTER_SPIRV_STATIC=".. (package:config("shared") and "OFF" or "ON"), |
|
|
|
|
"-DSDW_GENERATE_SOURCE=OFF", |
|
|
|
|
"-DSDW_BUILD_VULKAN_LAYER=OFF", |
|
|
|
|
"-DPROJECTS_USE_PRECOMPILED_HEADERS=OFF", |
|
|
|
|
"-DCMAKE_BUILD_TYPE=" .. (package:debug() and "Debug" or "Release") |
|
|
|
|
} |
|
|
|
|