aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/cpp/wrapper/bin/msvc_cl.bat
diff options
context:
space:
mode:
authorGravatar Yun Peng <pcloudy@google.com>2016-04-07 16:38:07 +0000
committerGravatar Kristina Chodorow <kchodorow@google.com>2016-04-07 17:05:53 +0000
commit986cb3e0beb22465577dae2aca7c148ae11c3d6d (patch)
tree18752bd2937ddec7bcbd418f07f08b584cbb3375 /tools/cpp/wrapper/bin/msvc_cl.bat
parentffcc522498c993e8746cf8a426ff46de4378d84e (diff)
Add the wrapper script for msvc crosstool
Using batch script to invoke real wrapper script written in python The default python path is expected to be C:/python_27_amd64/files/python.exe -- Change-Id: If47bf668ce4af2b6d28a1852189c061480816833 Reviewed-on: https://bazel-review.googlesource.com/#/c/3265 MOS_MIGRATED_REVID=119275909
Diffstat (limited to 'tools/cpp/wrapper/bin/msvc_cl.bat')
-rw-r--r--tools/cpp/wrapper/bin/msvc_cl.bat17
1 files changed, 17 insertions, 0 deletions
diff --git a/tools/cpp/wrapper/bin/msvc_cl.bat b/tools/cpp/wrapper/bin/msvc_cl.bat
new file mode 100644
index 0000000000..50d116d5c1
--- /dev/null
+++ b/tools/cpp/wrapper/bin/msvc_cl.bat
@@ -0,0 +1,17 @@
+:: Copyright 2016 The Bazel Authors. All rights reserved.
+::
+:: Licensed under the Apache License, Version 2.0 (the "License");
+:: you may not use this file except in compliance with the License.
+:: You may obtain a copy of the License at
+::
+:: http://www.apache.org/licenses/LICENSE-2.0
+::
+:: Unless required by applicable law or agreed to in writing, software
+:: distributed under the License is distributed on an "AS IS" BASIS,
+:: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+:: See the License for the specific language governing permissions and
+:: limitations under the License.
+
+:: Invoke the python script under pydir with the same basename
+@echo OFF
+call_python.bat %0 %*