aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/km/build/wdk7.1/setenv.bat
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--km/build/wdk7.1/setenv.bat (renamed from setenv.bat)12
1 files changed, 8 insertions, 4 deletions
diff --git a/setenv.bat b/km/build/wdk7.1/setenv.bat
index ee164df..c77bb92 100644
--- a/setenv.bat
+++ b/km/build/wdk7.1/setenv.bat
@@ -5,10 +5,14 @@
@echo off
-set "root=%~dp0%"
-set "src_root=%root%src"
-set "bin_root=%root%bin"
-set "lib_root=%root%lib"
+set "build_root=%~dp0%"
+
+set "root=%build_root%\..\..\.."
+for /f "delims=" %%i in ("%root%") do set "root=%%~fi"
+
+set "src_root=%root%\km\src"
+set "bin_root=%root%\km\build\wdk7.1\bin"
+set "lib_root=%root%\km\build\wdk7.1\lib"
set target_configuration=Release