Fix Issue 218: Check for protoc executable in vsprojects directory.

This commit is contained in:
kenton@google.com 2010-09-28 21:58:36 +00:00
parent a4a9ef8c8b
commit 80aa23df6c

View file

@ -20,6 +20,10 @@ if os.path.exists("../src/protoc"):
protoc = "../src/protoc"
elif os.path.exists("../src/protoc.exe"):
protoc = "../src/protoc.exe"
elif os.path.exists("../vsprojects/Debug/protoc.exe"):
protoc = "../vsprojects/Debug/protoc.exe"
elif os.path.exists("../vsprojects/Release/protoc.exe"):
protoc = "../vsprojects/Release/protoc.exe"
else:
protoc = find_executable("protoc")