John Kessenich | e01a9bc | 2016-03-12 20:11:22 -0700 | [diff] [blame] | 1 | set(SOURCES |
| 2 | hlslParseHelper.cpp |
| 3 | hlslScanContext.cpp |
John Kessenich | 34fb036 | 2016-05-03 23:17:20 -0600 | [diff] [blame] | 4 | hlslOpMap.cpp |
John Kessenich | 9c86c6a | 2016-05-03 22:49:24 -0600 | [diff] [blame] | 5 | hlslTokenStream.cpp |
LoopDawg | 0ae28ea | 2016-05-20 13:45:20 -0600 | [diff] [blame^] | 6 | hlslGrammar.cpp |
| 7 | hlslParseables.cpp) |
John Kessenich | e01a9bc | 2016-03-12 20:11:22 -0700 | [diff] [blame] | 8 | |
| 9 | set(HEADERS |
| 10 | hlslParseHelper.h |
| 11 | hlslTokens.h |
| 12 | hlslScanContext.h |
John Kessenich | 34fb036 | 2016-05-03 23:17:20 -0600 | [diff] [blame] | 13 | hlslOpMap.h |
John Kessenich | 9c86c6a | 2016-05-03 22:49:24 -0600 | [diff] [blame] | 14 | hlslTokenStream.h |
LoopDawg | 0ae28ea | 2016-05-20 13:45:20 -0600 | [diff] [blame^] | 15 | hlslGrammar.h |
| 16 | hlslParseables.h) |
John Kessenich | e01a9bc | 2016-03-12 20:11:22 -0700 | [diff] [blame] | 17 | |
| 18 | add_library(HLSL STATIC ${SOURCES} ${HEADERS}) |
Andrew Woloszyn | db0eaf9 | 2016-05-05 14:45:53 -0400 | [diff] [blame] | 19 | set_property(TARGET HLSL PROPERTY FOLDER hlsl) |
John Kessenich | e01a9bc | 2016-03-12 20:11:22 -0700 | [diff] [blame] | 20 | |
| 21 | if(WIN32) |
| 22 | source_group("Source" FILES ${SOURCES} ${HEADERS}) |
| 23 | endif(WIN32) |
| 24 | |
| 25 | install(TARGETS HLSL |
| 26 | ARCHIVE DESTINATION lib) |