2016-03-13 03:11:22 +00:00
|
|
|
set(SOURCES
|
|
|
|
hlslParseHelper.cpp
|
|
|
|
hlslScanContext.cpp
|
2016-05-04 05:17:20 +00:00
|
|
|
hlslOpMap.cpp
|
2016-05-04 04:49:24 +00:00
|
|
|
hlslTokenStream.cpp
|
2016-05-20 19:45:20 +00:00
|
|
|
hlslGrammar.cpp
|
|
|
|
hlslParseables.cpp)
|
2016-03-13 03:11:22 +00:00
|
|
|
|
|
|
|
set(HEADERS
|
|
|
|
hlslParseHelper.h
|
|
|
|
hlslTokens.h
|
|
|
|
hlslScanContext.h
|
2016-05-04 05:17:20 +00:00
|
|
|
hlslOpMap.h
|
2016-05-04 04:49:24 +00:00
|
|
|
hlslTokenStream.h
|
2016-05-20 19:45:20 +00:00
|
|
|
hlslGrammar.h
|
|
|
|
hlslParseables.h)
|
2016-03-13 03:11:22 +00:00
|
|
|
|
|
|
|
add_library(HLSL STATIC ${SOURCES} ${HEADERS})
|
2016-05-05 18:45:53 +00:00
|
|
|
set_property(TARGET HLSL PROPERTY FOLDER hlsl)
|
2016-03-13 03:11:22 +00:00
|
|
|
|
|
|
|
if(WIN32)
|
|
|
|
source_group("Source" FILES ${SOURCES} ${HEADERS})
|
|
|
|
endif(WIN32)
|
|
|
|
|
|
|
|
install(TARGETS HLSL
|
|
|
|
ARCHIVE DESTINATION lib)
|