HLSL: Plumb in HLSL parse context and keywords, and most basic HLSL parser and test.
This commit is contained in:
parent
b3dc3acd59
commit
e01a9bc8c0
16 changed files with 5047 additions and 16 deletions
21
hlsl/CMakeLists.txt
Executable file
21
hlsl/CMakeLists.txt
Executable file
|
|
@ -0,0 +1,21 @@
|
|||
cmake_minimum_required(VERSION 2.8)
|
||||
|
||||
set(SOURCES
|
||||
hlslParseHelper.cpp
|
||||
hlslScanContext.cpp
|
||||
hlslGrammar.cpp)
|
||||
|
||||
set(HEADERS
|
||||
hlslParseHelper.h
|
||||
hlslTokens.h
|
||||
hlslScanContext.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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue