-
In windows10, I want to modify the name of the built dynamic library to onnxruntime_dml.dll, but I don't see the relevant options in ".\build.bat -h". I used vs2019 to open the onnxruntime.sln generated by the build, and by modifying the properties of the onnxruntime project, I successfully changed the generated onnxruntime.dll to onnxruntime_dml.dll, but this method is very cumbersome. Is there an easier way? thanks for your help! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
onnxruntime/cmake/CMakeLists.txt Line 26 in 1fa6d8f Maybe plus some other places |
Beta Was this translation helpful? Give feedback.
-
In the line You need to change "onnxruntime_add_shared_library(onnxruntime" to "onnxruntime_add_shared_library(onnxruntime_dml" , and search all the cmake files and replace the reference places. |
Beta Was this translation helpful? Give feedback.
In the line
https://github.com/microsoft/onnxruntime/blob/master/cmake/onnxruntime.cmake#L36
You need to change "onnxruntime_add_shared_library(onnxruntime" to "onnxruntime_add_shared_library(onnxruntime_dml" , and search all the cmake files and replace the reference places.