summaryrefslogtreecommitdiffhomepage
path: root/ovr_sdk_win_23.0.0/LibOVRKernel/Src/Tracing/build.cmd
diff options
context:
space:
mode:
Diffstat (limited to 'ovr_sdk_win_23.0.0/LibOVRKernel/Src/Tracing/build.cmd')
-rw-r--r--ovr_sdk_win_23.0.0/LibOVRKernel/Src/Tracing/build.cmd16
1 files changed, 16 insertions, 0 deletions
diff --git a/ovr_sdk_win_23.0.0/LibOVRKernel/Src/Tracing/build.cmd b/ovr_sdk_win_23.0.0/LibOVRKernel/Src/Tracing/build.cmd
new file mode 100644
index 0000000..9aad7af
--- /dev/null
+++ b/ovr_sdk_win_23.0.0/LibOVRKernel/Src/Tracing/build.cmd
@@ -0,0 +1,16 @@
+@echo off
+REM
+REM build.cmd - rebuild generated ETW tracing files from LibOVREvents.man
+REM
+
+REM assume mc.exe is in a path relative to xperf.exe
+for /f "delims=" %%a in ('where /F Xperf') do set XPERF_PATH=%%~dpa
+
+set OSTYPE=x86
+if not "%PROCESSOR_ARCHITECTURE%"=="x86" set OSTYPE=x64
+if not "%PROCESSOR_ARCHITEW6432%"=="" set OSTYPE=x64
+
+set MC="%XPERF_PATH%..\bin\%OSTYPE%\mc.exe"
+echo Using Manifest Compiler: %MC%
+
+%MC% -v -a -A -n -um .\LibOVREvents.man -h . -z LibOVREvents