aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/setenv.bat
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2015-05-06 22:22:41 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2015-05-06 22:22:41 +0300
commit116d1ede0cc0d5d57f593264251668531252c74b (patch)
treeab4618829e4ab95e231e059133b8b7d1533ab6c2 /setenv.bat
downloadwindows7-drivers-116d1ede0cc0d5d57f593264251668531252c74b.tar.gz
windows7-drivers-116d1ede0cc0d5d57f593264251668531252c74b.zip
initial commit
Diffstat (limited to '')
-rw-r--r--setenv.bat20
1 files changed, 20 insertions, 0 deletions
diff --git a/setenv.bat b/setenv.bat
new file mode 100644
index 0000000..72bf356
--- /dev/null
+++ b/setenv.bat
@@ -0,0 +1,20 @@
+@echo off
+
+set root=%~dp0%
+set src_root=%root%src
+set bin_root=%root%bin
+set lib_root=%root%lib
+
+set target_configuration=Release
+
+if [%_BUILDARCH%] == [AMD64] goto :target_platform_x64
+if [%_BUILDARCH%] == [x86] goto :target_platform_x86
+echo Unsupported %%_BUILDARCH%% (supported build architectures: AMD64, x86)
+exit /b -1
+
+:target_platform_x64
+set target_platform=x64
+exit /b 0
+:target_platform_x86
+set target_platform=x86
+exit /b 0