mirror of
https://github.com/AxioDL/boo.git
synced 2025-05-14 19:31:20 +00:00
Integrate glslang CMake targets
This commit is contained in:
parent
a530e04280
commit
a79f55c5c1
@ -130,6 +130,11 @@ if(CMAKE_C_COMPILER_ID STREQUAL "Clang" OR CMAKE_C_COMPILER_ID STREQUAL "AppleCl
|
||||
set_source_files_properties(lib/graphicsdev/glew.c PROPERTIES COMPILE_FLAGS -Os)
|
||||
endif()
|
||||
|
||||
add_subdirectory(glslang/glslang EXCLUDE_FROM_ALL)
|
||||
add_subdirectory(glslang/OGLCompilersDLL EXCLUDE_FROM_ALL)
|
||||
add_subdirectory(glslang/SPIRV EXCLUDE_FROM_ALL)
|
||||
list(APPEND _BOO_SYS_LIBS glslang OSDependent OGLCompiler SPIRV)
|
||||
|
||||
set(BOO_SYS_LIBS ${_BOO_SYS_LIBS} CACHE PATH "Boo System Libraries" FORCE)
|
||||
set(BOO_SYS_DEFINES ${_BOO_SYS_DEFINES} CACHE PATH "Boo System Defines" FORCE)
|
||||
|
||||
|
@ -184,6 +184,7 @@ struct IGraphicsDataFactory
|
||||
D3D11,
|
||||
D3D12,
|
||||
Metal,
|
||||
Vulkan,
|
||||
GX,
|
||||
GX2
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user