Skip to content

Commit 41fbfdf

Browse files
committed
Copy ShaderOpArith.xml to bin
1 parent c7858d9 commit 41fbfdf

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

tools/clang/unittests/HLSLExec/CMakeLists.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,10 @@ endif()
3939
file(TO_NATIVE_PATH "${CMAKE_CURRENT_SOURCE_DIR}" DOS_STYLE_SOURCE_DIR)
4040
file(TO_NATIVE_PATH "${TAEF_BIN_DIR}" DOS_TAEF_BIN_DIR)
4141
configure_file(ExecHLSLTests.vcxproj.user.txt ExecHLSLTests.vcxproj.user)
42+
43+
# Copy the ShaoderOpArith.xml file to the output directory. It's used by the
44+
# exec tests and it's convient to have it copied here if you want to easily copy
45+
# the tests to another machine after building.
46+
set(XML_SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/ShaderOpArith.xml)
47+
set(XML_DESTINATION ${CMAKE_BINARY_DIR}/${CMAKE_BUILD_TYPE}/bin)
48+
file(COPY ${XML_SOURCE} DESTINATION ${XML_DESTINATION})

0 commit comments

Comments
 (0)