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