mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-17 21:10:43 +00:00
* Fix WCOS/Win32 linking bugs * Remove unused NODEFAULTLIB flags * Avoid plain target_link_libraries signature * Avoid plain target_link_libraries signature * Fix library list escaping * Use library list instead of string * Remove duplicate link to windowsapp.lib * Remove Win32 build workarounds * Specify CMake policies before initializing language * Expose Win32 header definitions during build * Force set API family * Enable Win32 APIs in featurizer * Use MT dynamic CRT * Expose Win32 specific functions * Disable app container globally * Disable default wide functions in featurizers * Add featurizers to test include path * Workaround https://gitlab.kitware.com/cmake/cmake/issues/19428 * Revert pipeline debugging hacks * Skip /FI in CUDA sources * Default to Win32 builds * Enable WCOS when using WinML * Use generator expression to apply CMAKE_MSVC_RUNTIME_LIBRARY to C++ only
62 lines
1.6 KiB
JSON
62 lines
1.6 KiB
JSON
{
|
|
"configurations": [
|
|
{
|
|
"name": "WinML-Debug",
|
|
"generator": "Ninja",
|
|
"configurationType": "Debug",
|
|
"inheritEnvironments": [ "msvc_x64_x64" ],
|
|
"buildRoot": "${projectDir}\\..\\build\\${name}",
|
|
"installRoot": "${projectDir}\\..\\build\\${name}\\install",
|
|
"cmakeCommandArgs": "",
|
|
"buildCommandArgs": "",
|
|
"ctestCommandArgs": "",
|
|
"variables": [
|
|
{
|
|
"name": "onnxruntime_USE_WINML",
|
|
"value": "True",
|
|
"type": "BOOL"
|
|
},
|
|
{
|
|
"name": "onnxruntime_USE_DML",
|
|
"value": "True",
|
|
"type": "BOOL"
|
|
},
|
|
{
|
|
"name": "onnxruntime_BUILD_SHARED_LIB",
|
|
"value": "True",
|
|
"type": "BOOL"
|
|
}
|
|
],
|
|
"cmakeToolchain": "${projectDir}\\wcos_toolchain.cmake"
|
|
},
|
|
{
|
|
"name": "WinML-RelWithDebInfo",
|
|
"generator": "Ninja",
|
|
"configurationType": "RelWithDebInfo",
|
|
"inheritEnvironments": [ "msvc_x64_x64" ],
|
|
"buildRoot": "${projectDir}\\..\\build\\${name}",
|
|
"installRoot": "${projectDir}\\..\\build\\${name}\\install",
|
|
"cmakeCommandArgs": "",
|
|
"buildCommandArgs": "",
|
|
"ctestCommandArgs": "",
|
|
"variables": [
|
|
{
|
|
"name": "onnxruntime_USE_WINML",
|
|
"value": "True",
|
|
"type": "BOOL"
|
|
},
|
|
{
|
|
"name": "onnxruntime_USE_DML",
|
|
"value": "True",
|
|
"type": "BOOL"
|
|
},
|
|
{
|
|
"name": "onnxruntime_BUILD_SHARED_LIB",
|
|
"value": "True",
|
|
"type": "BOOL"
|
|
}
|
|
],
|
|
"cmakeToolchain": "${projectDir}\\wcos_toolchain.cmake"
|
|
}
|
|
]
|
|
}
|