HLSL: Add an Includer to handle #include.
This commit is contained in:
parent
44d2728e3d
commit
3494b4da9b
22 changed files with 362 additions and 19 deletions
|
|
@ -6,7 +6,7 @@ target_include_directories(glslang-default-resource-limits
|
|||
PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
PUBLIC ${PROJECT_SOURCE_DIR})
|
||||
|
||||
set(SOURCES StandAlone.cpp)
|
||||
set(SOURCES StandAlone.cpp DirStackFileIncluder.h)
|
||||
set(REMAPPER_SOURCES spirv-remap.cpp)
|
||||
|
||||
add_executable(glslangValidator ${SOURCES})
|
||||
|
|
@ -22,7 +22,6 @@ set(LIBRARIES
|
|||
SPVRemapper
|
||||
glslang-default-resource-limits)
|
||||
|
||||
|
||||
if(WIN32)
|
||||
set(LIBRARIES ${LIBRARIES} psapi)
|
||||
elseif(UNIX)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue