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 | |
David Seifert | 22afc38 | 2017-04-29 10:57:36 +0200 | [diff] [blame^] | 10 | set(HEADERS |
steve-lunarg | 1868b14 | 2016-10-20 13:07:10 -0600 | [diff] [blame] | 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}) | ||||
David Seifert | 22afc38 | 2017-04-29 10:57:36 +0200 | [diff] [blame^] | 21 | set_property(TARGET HLSL PROPERTY FOLDER hlsl POSITION_INDEPENDENT_CODE ON) |
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 | ||||
David Seifert | 22afc38 | 2017-04-29 10:57:36 +0200 | [diff] [blame^] | 28 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}) |