glslang/SPIRV/CMakeLists.txt

30 lines
533 B
CMake
Raw Normal View History

2015-06-26 22:58:36 +00:00
set(SOURCES
GlslangToSpv.cpp
2016-01-18 21:18:37 +00:00
InReadableOrder.cpp
Logger.cpp
2015-06-26 22:58:36 +00:00
SpvBuilder.cpp
SPVRemapper.cpp
doc.cpp
disassemble.cpp)
set(HEADERS
2015-08-07 04:53:06 +00:00
spirv.hpp
GLSL.std.450.h
2015-06-26 22:58:36 +00:00
GlslangToSpv.h
Logger.h
2015-06-26 22:58:36 +00:00
SpvBuilder.h
SPVRemapper.h
spvIR.h
doc.h
disassemble.h)
add_library(SPIRV STATIC ${SOURCES} ${HEADERS})
set_property(TARGET SPIRV PROPERTY FOLDER glslang)
2015-06-26 22:58:36 +00:00
if(WIN32)
source_group("Source" FILES ${SOURCES} ${HEADERS})
endif(WIN32)
install(TARGETS SPIRV
ARCHIVE DESTINATION lib)