mirror of
https://github.com/libretro/glslang.git
synced 2024-12-12 18:26:50 +00:00
26 lines
473 B
CMake
Executable File
26 lines
473 B
CMake
Executable File
cmake_minimum_required(VERSION 2.8)
|
|
|
|
set(SOURCES
|
|
hlslParseHelper.cpp
|
|
hlslScanContext.cpp
|
|
hlslOpMap.cpp
|
|
hlslTokenStream.cpp
|
|
hlslGrammar.cpp)
|
|
|
|
set(HEADERS
|
|
hlslParseHelper.h
|
|
hlslTokens.h
|
|
hlslScanContext.h
|
|
hlslOpMap.h
|
|
hlslTokenStream.h
|
|
hlslGrammar.h)
|
|
|
|
add_library(HLSL STATIC ${SOURCES} ${HEADERS})
|
|
|
|
if(WIN32)
|
|
source_group("Source" FILES ${SOURCES} ${HEADERS})
|
|
endif(WIN32)
|
|
|
|
install(TARGETS HLSL
|
|
ARCHIVE DESTINATION lib)
|