mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-12-30 21:40:57 +01:00
27 lines
527 B
CMake
27 lines
527 B
CMake
|
set(SOURCES
|
||
|
hlslParseHelper.cpp
|
||
|
hlslScanContext.cpp
|
||
|
hlslOpMap.cpp
|
||
|
hlslTokenStream.cpp
|
||
|
hlslGrammar.cpp
|
||
|
hlslParseables.cpp)
|
||
|
|
||
|
set(HEADERS
|
||
|
hlslParseHelper.h
|
||
|
hlslTokens.h
|
||
|
hlslScanContext.h
|
||
|
hlslOpMap.h
|
||
|
hlslTokenStream.h
|
||
|
hlslGrammar.h
|
||
|
hlslParseables.h)
|
||
|
|
||
|
add_library(HLSL STATIC ${SOURCES} ${HEADERS})
|
||
|
set_property(TARGET HLSL PROPERTY FOLDER hlsl)
|
||
|
|
||
|
if(WIN32)
|
||
|
source_group("Source" FILES ${SOURCES} ${HEADERS})
|
||
|
endif(WIN32)
|
||
|
|
||
|
install(TARGETS HLSL
|
||
|
ARCHIVE DESTINATION lib)
|